close

I have a formula that asks if cell B12 is blank, leave the cell in question
blank, but if there is a value in B12, fill the cell in question with the
value of cell B13:

=IF(isblank(B12),quot;quot;,B13)

I would like to add an additional condition, which is that if the value of
B13 is less than the value of A1, a text error (such as quot;out of rangequot;) is
returned. All cells in question are formatted as dates.

I've tried a few ways of appending a second IF statement to me existing
forumla but am doing something incorrected. Any help is appreciated.

Thanks,
spence

Try:

=IF(ISBLANK(B12),quot;quot;,IF(B13lt;A1,quot;out of rangequot;,B13))

--
Max
Singapore
savefile.com/projects/236895
xdemechanik
---
quot;spencequot; gt; wrote in message
...
gt; I have a formula that asks if cell B12 is blank, leave the cell in
question
gt; blank, but if there is a value in B12, fill the cell in question with the
gt; value of cell B13:
gt;
gt; =IF(isblank(B12),quot;quot;,B13)
gt;
gt; I would like to add an additional condition, which is that if the value of
gt; B13 is less than the value of A1, a text error (such as quot;out of rangequot;) is
gt; returned. All cells in question are formatted as dates.
gt;
gt; I've tried a few ways of appending a second IF statement to me existing
gt; forumla but am doing something incorrected. Any help is appreciated.
gt;
gt; Thanks,
gt; spence

全站熱搜
創作者介紹
創作者 software 的頭像
software

software

software 發表在 痞客邦 留言(0) 人氣()