Can I use a conditional if with a range <>

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to write a formula in one column where it states if a number in
the second column is less than 25 or = to or greater than one, to give me a
one in the other column. If it doesn't fit that criteria give me a two.
This is what I am using but it isn't working. =if(b1<25>=1,1,2). Any
suggestions???
 
Thanks that helped. Can I do more than one range? i.e.: 1-25, 26-50, and
51-99 all nested in the same formula????
 
Thanks that helped. Can I do more than one range? i.e.: 1-25, 26-50, and
51-99 all nested in the same formula????
 
try:

=LOOKUP(A1,{1,26,51},{1,2,3})

HTH

Motaad said:
Thanks that helped. Can I do more than one range? i.e.: 1-25, 26-50, and
51-99 all nested in the same formula????
 
try:

=LOOKUP(A1,{1,26,51},{1,2,3})

HTH

Motaad said:
Thanks that helped. Can I do more than one range? i.e.: 1-25, 26-50, and
51-99 all nested in the same formula????
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

IF Multiple Conditions 2
conditional formula 2
Excel Average dates help 0
Help needed 0
lookup number greater than 2
If formula 4
Excel Conditioning Formatting 3
Conditional Formatting-If Formula 4

Back
Top