ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Return with an "OK" if the value falls between -10 and 30 (https://www.excelbanter.com/excel-worksheet-functions/199650-return-ok-if-value-falls-between-10-30-a.html)

Jas

Return with an "OK" if the value falls between -10 and 30
 
How to return with an "OK" if the value falls between -10 and 30

Peo Sjoblom

Return with an "OK" if the value falls between -10 and 30
 
=IF(AND(A2=-10,A2<=30),"OK","Not OK")

replace A2 with the cell in question and change <= and = to < and
if you don't want to include -10 and 30



Regards,


Peo Sjoblom



"Jas" wrote in message
...
How to return with an "OK" if the value falls between -10 and 30





All times are GMT +1. The time now is 04:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com