Checking Cell Value against a Range of Numbers

Closed
Maverick81 Posts 1 Registration date Monday 29 December 2014 Status Member Last seen 29 December 2014 - 29 Dec 2014 à 13:20
shanthich Posts 5 Registration date Monday 29 December 2014 Status Member Last seen 30 December 2014 - 29 Dec 2014 à 13:34
Hello,

I want to check a cell's value and if it falls in a particular range then I want to write "OK" in some other cell and if it falls out of specific range then I want to write "NOT OK".

For example if the value in cell A1 is less than -1 or greater than 1 then i want to write NOT OK in B1 and if the value of cell A1 falls in between -1 and 1 then I want to write OK in cell B1.

Can anyone tell me how to do that in excel 2010?

1 response

shanthich Posts 5 Registration date Monday 29 December 2014 Status Member Last seen 30 December 2014 1
29 Dec 2014 à 13:34
use formula
IF(OR(A1<-1,A1>1),"NOT OK","OK")