IF Statements

jboles

New Member
Joined
Aug 13, 2003
Messages
44
I need a way to bypass this 7 nested IF statment limit issue. Below is as far as I can get. I need to add 2 more rating conditions

any suggestions?


=IF((B4)="","",IF(B4<50.5,1,IF(B4<54.5,1.5,IF(B4<59.5,2,IF(B4<64.5,2.5,IF(B4<69.5,3,IF(B4<74.5,3.5,IF(B4<79.5,4))))))))
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
Try setting up a table and using the VLOOKUP function (see Excel help for details).
 
Upvote 0
I like Choose,

here you can have up to 30 IF's

=IF(B4="","",CHOOSE(MATCH(B4,{0,50.5,54.5,59.5,64.5,69.5,74.5,79.5},1),1,1.5,2,2.5,3,3.5,4))
 
Upvote 0
or this way using INDEX/MATCH
Book1
ABCDEF
150.4101
254.5250.51.5
359254.52
459.4259.52.5
559.52.564.53
664.42.569.53.5
764.5374.54
869.4379.54.5
969.53.5
1074.43.5
1174.54
1279.44
13 
14
Sheet2


Hope this helps
 
Upvote 0

Forum statistics

Threads
1,203,506
Messages
6,055,806
Members
444,825
Latest member
aggerdanny

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top