View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Melvin Tang[_2_] Melvin Tang[_2_] is offline
external usenet poster
 
Posts: 4
Default IF CELL VALUE FALLS WITHIN A RANGE OF VALUES

Sorry, it doesn't seem to work:

=IF(A1=AND(A1=MIN(B1:B10),A1<=MAX(B1:B10)), "true", "false")

Am I doing it wrongly?

"Tevuna" wrote:

Non array:
=AND(A1=MIN(B1:B10),A1<=MAX(B1:B10))

"Melvin Tang" wrote:

How do I create an IF function that allows me to work on a cell if the value
input falls within a range of values.

For example, =IF(A1=B1:B10,"true","false")