Using Index Match to return values where both row and columns are a range

Lokjor

New Member
Joined
Jun 23, 2023
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello!

I am trying to find a formula where, using a static book size (say $1550000) and dollars over goal (say 250000) it will return the % at which commission is applied & can then calculate the annual bonus. For the example this would be 4% as the book size is between $1.5m and $2m, and the total over goal between $200k and $300k.

Please see the grid, where both are the ranges.

1687527148575.png


 

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
MrExcelPlayground18.xlsx
ABCDEFG
1Total Goal
2Book Size$0$100,000$200,000$300,000$400,000$500,000
3$400,0001.00%1.00%2.00%3.00%4.00%4.50%
4$1,000,0001.00%2.00%3.00%4.00%4.00%5.00%
5$1,500,0002.00%3.00%4.00%4.00%5.00%5.00%
6$2,000,0003.00%4.00%4.00%5.00%5.00%5.00%
7$2,500,0004.00%4.50%5.00%5.00%5.00%5.00%
8$3,000,0004.50%5.00%5.00%5.00%5.00%6.00%
9$3,500,0005.00%5.25%5.00%5.00%6.00%6.00%
10$4,000,0005.25%5.50%5.00%6.00%6.00%6.00%
11$4,500,0005.50%5.75%6.00%6.00%6.00%6.00%
12$5,000,0005.75%6.00%6.00%6.00%6.00%7.00%
13$5,500,0006.00%6.25%6.50%6.75%7.00%7.25%
14
15
16Thing$1,550,000
17Other Thing$250,000
18%4.00%
Sheet7
Cell Formulas
RangeFormula
B18B18=INDEX(B3:G13,XMATCH(B16,A3:A13,-1),XMATCH(B17,B2:G2,-1))
 
Upvote 0

Forum statistics

Threads
1,223,885
Messages
6,175,181
Members
452,615
Latest member
bogeys2birdies

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