Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Formula trouble
I am trying to use the =days360 function.
=days360(D15,D19) THIS WORKS FINE EXCEPT IF THERE IS NO DATE IN CELL D15, IT GIVES ME -39983. How can I get it to enter a "0" if there is no date in one of the cells or enter a default date?? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Formula trouble
=if(or(d15="", d19=""), 0, days360(D15,D19))
-- HTH... Jim Thomlinson "Becky" wrote: I am trying to use the =days360 function. =days360(D15,D19) THIS WORKS FINE EXCEPT IF THERE IS NO DATE IN CELL D15, IT GIVES ME -39983. How can I get it to enter a "0" if there is no date in one of the cells or enter a default date?? |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Formula trouble
=IF(COUNT(D15,D19)=2,DAYS360(D15,D19),0)
btw, do you really need DAYS360? If you want to count the days you can just use =D19-D15 format result as general also you wouldn't get a negative value if D15 is empty, you would get it if D19 is empty =IF(COUNT(D15,D19)=2,D19-D15,0) -- Regards, Peo Sjoblom "Becky" wrote in message ... I am trying to use the =days360 function. =days360(D15,D19) THIS WORKS FINE EXCEPT IF THERE IS NO DATE IN CELL D15, IT GIVES ME -39983. How can I get it to enter a "0" if there is no date in one of the cells or enter a default date?? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
still having trouble with this formula | Excel Discussion (Misc queries) | |||
still having trouble with this formula | Excel Discussion (Misc queries) | |||
'IF' formula trouble | Excel Discussion (Misc queries) | |||
I'm new at this - having trouble with a formula | Excel Discussion (Misc queries) | |||
Formula Trouble | Excel Worksheet Functions |