Simplify formula exceeds 64 levels of nested formula - Best Carrier Rate

TwinJohnson

New Member
Joined
Jul 15, 2021
Messages
11
Office Version
  1. 365
  2. 2011
Platform
  1. Windows
The table holds pricing from three carriers and a column to say which carrier is the best one to use for the weight entered for each of the 86 countries worldwide. I'm building a formula that says when the weight is inputted the output should be the carrier with the best pricing by weight and country. I started the vlookup and got to 64 if(vlookup scenarios and received the error that the formula cannot exceed 64 levels of nested formula so I'm trying to figure out an alternative formula.

Note all the carriers are not shown and the formula shown is incomplete. I've identified the column with the expected results provided in the second screen shot.

Perhaps there is another formula to use to get the results needed.

Thank you,
Tawnee
 

Attachments

  • carrier calculator.PNG
    carrier calculator.PNG
    42.2 KB · Views: 13
  • results column.PNG
    results column.PNG
    8.4 KB · Views: 13

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
If you get rid of the merged cells & put the country code above the Carrier columns only, you can use
Excel Formula:
=INDEX(E4:Y7,MATCH(B12,A2:A7,0),MATCH(C13,E2:Y2,0))
 
Upvote 0
If you get rid of the merged cells & put the country code above the Carrier columns only, you can use
Excel Formula:
=INDEX(E4:Y7,MATCH(B12,A2:A7,0),MATCH(C13,E2:Y2,0))
Thank you so much Fluff, it was that easy to just format it correctly. I'm still learning index matches and see the starting place is key (E4) as provides the column the result is in.
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,893
Members
449,097
Latest member
dbomb1414

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