View Single Post
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
T. Valko T. Valko is offline
external usenet poster
 
Posts: 15,768
Default Using If function for Great and less than function

since A1 is 3300 , A "X" will show up in C2

C2? Don't you mean C3?

Also, you're overlooking the interval overlaps.

C1 I want a "X" if A1 is less than 2300
C2 I want a "X" if A1 is between 2300 and 3000
C3 I want a "X" if A1 is between 3000 and 4000


In the above, you're *excluding* 2300, 3000 and 4000. If A1 = 3000 then what
result do you want?

3000 is not less than 2300
3000 does not fall *between* 2300 and 3000
3000 does not fall *between* 3000 and 4000

Typically, when people say "between" what they really mean is = and <=.

Is that what you meant?

--
Biff
Microsoft Excel MVP


"Muskrat24" wrote in message
...

This might give you a better picture of what I want

A1 = 3300

C1 I want a "X" if A1 is less than 2300
C2 I want a "X" if A1 is between 2300 and 3000
C3 I want a "X" if A1 is between 3000 and 4000

since A1 is 3300 , A "X" will show up in C2
"Jacob Skaria" wrote:

In C1
=IF(AND(A13000,A1<4000),"X","")

If this post helps click Yes
---------------
Jacob Skaria


"Muskrat24" wrote:

I want to use a IF fuction for greater than or less than
IF A1 is greater than 3000, but less than 4000, than I want C1 to be a
"X"

how do i do this

Thanks