Check for errors

P

Pat

The following formula presumes there is data in N75 and J75

=IF(ISNUMBER($R75)*($R75<>0),"",IF(AND($N75-$J75>0,$Q75=1),0,$N75-$J75))

When no data can be found #VALUE! error is returned. I need to have the
formula to be returned without any errors.

I have tried varies combinations but none were successful. Here is one of
them:

=IF(ISNUMBER($R74)*($R74<>0),"",IF(AND(ISNUMBER($N74)-($J74>0),$Q74=1),0,ISNUMBER($N74)-($J74)))


Thanks if you can fix it.
Pat
 
P

Peo Sjoblom

You can only get a value error if any cell you do a calculation with is
text, this should probably dow (not tested

=IF(OR(ISTEXT(N$75),ISTEXT(J$75)),"",IF(ISNUMBER($R75)*($R75<>0),"",IF(AND($
N75-$J75>0,$Q75=1),0,$N75-$J75)))

--

Regards,

Peo Sjoblom
 
P

Pat

That sorted it.
Many thanks.
Pat

P.S. I take note of your comments of your other post. I posted the same
message twice, because I noticed that it did not appear as a new post but
had in fact attached itself to an earlier post (30/Jan/2005) of mines with
the same subject heading. I am now assuming that I am the only one who can
observe this. Thanks any way for pointing that out to me.
 

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