ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   is it possible to check (https://www.excelbanter.com/excel-worksheet-functions/39123-possible-check.html)

leeyowh

is it possible to check
 
Hi all,

I need help...

I would like to know how to go about an if statement to validate if a number
is between 2 numbers?

For example, an entered number then if the number is between 5 and 50,
then....something


KL

=IF(AND(A1=5,A1<=50),"between","outside")

Regards,
KL


"leeyowh" wrote in message
...
Hi all,

I need help...

I would like to know how to go about an if statement to validate if a
number
is between 2 numbers?

For example, an entered number then if the number is between 5 and 50,
then....something





All times are GMT +1. The time now is 10:29 PM.

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