Nesting IF and IFS formulas

Atrain21

New Member
Joined
Feb 13, 2018
Messages
3
I am trying to nest 8 IF formulas and can't figure out how to do it. I have the 8 individual formulas working (see below), but can't combine then in a single cell. I'm using MS Office 2013.


=IF(AJ6="SM STD",'AMZ Fee 2-22-18'!$B$5)
=IF(AJ6="LG STD1",'AMZ Fee 2-22-18'!$B$6)
=IF(AJ6="LG STD2",'AMZ Fee 2-22-18'!$B$7)
=IF(AJ6="LG STD3",(0.38*(AA9-2)+'AMZ Fee 2-22-18'!$B$8)
=IF(AJ6="SM OVER",(0.38*(AA10-2)+'AMZ Fee 2-22-18'!B9)
=IF(AJ6="MED OVER",(0.38*(AA11-2)+'AMZ Fee 2-22-18'!B10)
=IF(AJ6="LG OVER",(0.79*(AA12-90)+'AMZ Fee 2-22-18'!B11)
=IF(AJ6="SPEC OVER",(0.91*(AA13-90)+'AMZ Fee 2-22-18'!B12) THE 'AMZ Fee 2-22-18'! is referring to a cell in another sheet in the workbook.
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
Welcome to the board.

Those are working as is? It looks to me like they are missing the FALSE result of the IF statement... and are not closed properly?

Otherwise, I would guess something like this:

=IF(AJ6="SM STD",'AMZ Fee 2-22-18'!$B$5,IF(AJ6="LG STD1",'AMZ Fee 2-22-18'!$B$6,IF(AJ6="LG STD2",'AMZ Fee 2-22-18'!$B$7,IF(AJ6="LG STD3",(0.38*(AA9-2)+'AMZ Fee 2-22-18'!$B$8),IF(AJ6="SM OVER",(0.38*(AA10-2)+'AMZ Fee 2-22-18'!B9),IF(AJ6="MED OVER",(0.38*(AA11-2)+'AMZ Fee 2-22-18'!B10),IF(AJ6="LG OVER",(0.79*(AA12-90)+'AMZ Fee 2-22-18'!B11),IF(AJ6="SPEC OVER",(0.91*(AA13-90)+'AMZ Fee 2-22-18'!B12),""))))))))

Provided this is not more nesting than your version of excel will allow.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,170
Members
453,021
Latest member
Justyna P

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