I've created a table to calculate deadline dates in output cells based on a
specified number working days between the start date and the targeted
deadline date (output). However, as many of the start dates have not yet
been determined, one of the input cells is empty... while the formula
recognizes this, it also uses 1/0/00 as the start date. Having these cells
filled with a nonsense date is confusing. Is there anyway to get the formula
to leave the output cell blank if any of the input cells are empty?
Something like:
=IF(A2,WORKDAY(A2,B2,Holidays),quot;quot;)
See WORKDAY in Excel's Help.
mla75 wrote:
gt; I've created a table to calculate deadline dates in output cells based on a
gt; specified number working days between the start date and the targeted
gt; deadline date (output). However, as many of the start dates have not yet
gt; been determined, one of the input cells is empty... while the formula
gt; recognizes this, it also uses 1/0/00 as the start date. Having these cells
gt; filled with a nonsense date is confusing. Is there anyway to get the formula
gt; to leave the output cell blank if any of the input cells are empty?
Thanks Aladin,
I've already got the workday formula worked out, but the IF command has
helped me get rid of the nonsense numbers. Here's the formula I used:
=IF('C12=0,quot;***quot;,'C12')
The C12=0 provides the logic statement - if cell c12 is empty (or =0)...
The next object provides instructions for what to do if the cell is empty -
insert quot;***quot; - this way I can easily eye if the data isn't present
and the next indicate what output is needed if the input cell has data
Thanks!
quot;Aladin Akyurekquot; wrote:
gt; Something like:
gt;
gt; =IF(A2,WORKDAY(A2,B2,Holidays),quot;quot;)
gt;
gt; See WORKDAY in Excel's Help.
gt;
gt; mla75 wrote:
gt; gt; I've created a table to calculate deadline dates in output cells based on a
gt; gt; specified number working days between the start date and the targeted
gt; gt; deadline date (output). However, as many of the start dates have not yet
gt; gt; been determined, one of the input cells is empty... while the formula
gt; gt; recognizes this, it also uses 1/0/00 as the start date. Having these cells
gt; gt; filled with a nonsense date is confusing. Is there anyway to get the formula
gt; gt; to leave the output cell blank if any of the input cells are empty?
gt;
- Apr 13 Sun 2008 20:43
DATEVALUE amp; Empty cells
close
全站熱搜
留言列表
發表留言