ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Want to return a value based on a whether a number is within a ra. (https://www.excelbanter.com/excel-worksheet-functions/14636-want-return-value-based-whether-number-within-ra.html)

laurieevan

Want to return a value based on a whether a number is within a ra.
 
Want to return a value based on a whether a number is within a range of
numbers using the IF function. Can someone please give me the correct syntax.

JulieD

Hi

something along the lines of

=IF(AND(A1=1,A1<=10),"yes","no")

Cheers
JulieD

"laurieevan" wrote in message
...
Want to return a value based on a whether a number is within a range of
numbers using the IF function. Can someone please give me the correct
syntax.




laurieevan

Thank you for your assistance. This is just what I needed. The problem is
solved. Thanks again.

"laurieevan" wrote:

Want to return a value based on a whether a number is within a range of
numbers using the IF function. Can someone please give me the correct syntax.


JulieD

you're welcome and thanks for the feedback

"laurieevan" wrote in message
...
Thank you for your assistance. This is just what I needed. The problem
is
solved. Thanks again.

"laurieevan" wrote:

Want to return a value based on a whether a number is within a range of
numbers using the IF function. Can someone please give me the correct
syntax.





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

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