Question : Nested IF's

This is the first time I have tried to do a formula in 2007, I have the logic of how the formula should work, but I keep getting an error.  Here is what I am trying to do

if(a3<180, 1),
if(a3>=181, a3<=190,2),
if(a3>=191, a3<=200, 3),
if(a3>=201, a3<=210,4),
if(a3>=211, a3<=220,5),
if(a3>=221, a3<=235,6), "ABE"

Answer : Nested IF's

Use this:

=IF(A3<=180,1,IF(A3<=190,2,IF(A3<=200,3,IF(A3<=210,4,IF(A3<=220,5,IF(A3<=235,6,"ABE"))))))

By the way, I modified it to include if it's 180 then it's a 1, because you skip that possibility.

less than 180 and greater than or equal to 181 misses out on 180
if(a3<180, 1),
if(a3>=181, a3<=190,2),

Random Solutions  
 
programming4us programming4us