Select value from table looking up two different ranges

jeffdlinn

New Member
Joined
Nov 18, 2013
Messages
29
Office Version
  1. 365
Platform
  1. Windows
I have the following table below and I'm trying to use INDEX:MATCH:MATCH, but I'm having a challenge searching between the two different ranges.

In Cell B1 user would input the number of units
In Cell B2 User would input the annual sales.

In cell B3 I need a formula that would look at cell B1 and look at the ranges in rows 5 and 6 to determine which column to lookup and also look at cell B2 to look at the range in column A and B to determine which row to lookup.

In the example below based on 66 and 432,000 it would return the value in Cell I9 which is 3.45%



Book1
ABCDEFGHIJKLMNOP
1# of Units66.00
2Annual Sales432,000.00
3Percentage3.45%
4
50.003.005.0010.0020.0040.0060.0080.00100.00120.00140.00160.00180.00200.00
62.004.009.0019.0039.0059.0079.0099.00119.00139.00159.00179.00199.00100000.00
70.00349999.99CustomCustomCustom3.95%3.95%3.65%3.65%3.45%3.45%3.45%3.45%3.45%3.45%3.45%
8350000.00424999.99CustomCustomCustom3.95%3.95%3.65%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%
9425000.00499999.99CustomCustomCustom3.95%3.65%3.65%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%
10500000.00599999.99CustomCustom3.95%3.95%3.65%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%
11600000.00699999.99CustomCustom3.95%3.95%3.65%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%
12700000.00799999.99CustomCustom3.95%3.95%3.65%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%
13800000.00899999.99CustomCustom3.95%3.65%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%
14900000.00999999.99CustomCustom3.95%3.65%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%
151000000.00100000000.00Custom3.95%3.95%3.65%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%3.45%
Sheet1
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,224,823
Messages
6,181,185
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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