SUMIF or IF to display number of days or N/A

  • Thread starter Thread starter nan
  • Start date Start date
N

nan

I am trying to display the number of days between 2 dates if the cell in the
range is greater then 0 or if the range cell is 0, I want to display N/A.

BD3 = 40
BB3 = 4-18-07
D3 = 2-24-07

I want the formula to display 53

BD3 = 0
BB3 = 4-18-07
D3 = 2-24-07

I want the formula to display N/A
 
=IF(BD3>0,BB3-D3,NA())

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Back
Top