View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR CLR is offline
external usenet poster
 
Posts: 1,998
Default IF Statement with Dates & Calculations

Put this in cell T2 and copy down....

=IF(I2="","n/a",IF(E2="","open",E2-I2))

Vaya con Dios,
Chuck, CABGx3




"Diane" wrote:

I am trying to create a formula that looks at two dates, and based on the
results places either a the calculation of number of days between the two
dates, "n/a", or "Open" as the result

Column E Column I Desired Results in Column T
1/11/2010 12/29/2009 13
1/11/2010 Blank n/a
Blank 12/30/2009 Open

Any help would be greatly appreciated. Please let me know if you need
further explanation.