Then, test the date cell for a blank. If it is blank then return blank
("")instead of the "1".
based on your other formula:
=if(C16="","",DATEDIF(C16,D16,"D")+1)
>> > I have a cell that grabs the date of intake the next cell sees that
>> > cell and
[quoted text clipped - 14 lines]
>> column wether there is a date or not. This can not happen because
>> depending on number of days, it calculates cost.
krc547 - 30 Nov 2007 16:24 GMT
> Then, test the date cell for a blank. If it is blank then return blank
> ("")instead of the "1".
[quoted text clipped - 19 lines]
> >> column wether there is a date or not. This can not happen because
> >> depending on number of days, it calculates cost.
what if I need to count number of days except if cell d17 is not the end of
the month. Example C17 and D17 are as follows:
c17=11/25/07 d17=11/29/07 instead of it returning 5 days I would need it
to return 4 days because the client was not here until the end of the month.