Thread: if statement
View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
FXone FXone is offline
external usenet poster
 
Posts: 1
Default Date based IF Statement

maybe you can help solve this one..

=IF(TODAY()=C3,0,NOW()-C3-1)

the days open are counted based on a start date manually inputed in C3, a closed date is manually inputed in a separate cell, for instance C4. I am trying to craft my IF statement to stop counting days open based on the closure date. Any suggestions? Thx

for example:

DtOpen Days Open DtClosed
05/1/08 26
05/1/08 24 05/25/08