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

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
 
B

Bob Phillips

=IF(BD3>0,BB3-D3,NA())

--
HTH

Bob

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top