Nested IF statements

A

Angus Dow

I need to write a formula which says if the difference between cell A1 and
cell A2 is less than .003 then "OK" if not wrong. Values of A1 can be
positive or negative in either case, i.e -.001 to .001 is OK .

Lots of attempts but no guaranteed result, I managed to conditional format
the results do they printed red and green but I would rather have OK or
wrong

It may be basic but it has stuck me.

Also is there anywhere on the web with lists of formulas like the one I need

Thanks

Angus
 
H

hgrove

Aladin Akyurek wrote...
=IF(COUNT(A1:A2),IF(ABS(A1-A2)<0.003,"OK","Not OK"),"Not OK")
...

Could be shortened

=IF(COUNT(1/(2*VAR(A1:A2)<0.003^2)),"OK","Not OK"
 

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