I cant work out what the error is.

S

ss

In this formula =IF(D12=0,"",D12 -C12+1) I get a return of 28 which
is correct.

In this formula =IF(D11=0,"",D11 -C11+1) I get #VALUE!

I cant understand this, I have checked cell format and both are in
general, I have tried dragging down and still no change. The subtraction
elemenst are 2 dates.
 
D

Dave Peterson

You'll see this error if
D11 is non-empty and non-numeric
or
C11 is non-empty and non-numeric
 
S

ss

Either C11 or D11 has a #VALUE in it.
Now sorted I dragged down the cells above (same format) and it sorted
the problem although I still never worked out what the prob was.
 

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