INDEX MATCH or similar with multiple criteria?

Adrian B

New Member
Joined
Dec 13, 2023
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi,
I have this problem were I would like a formula to return the correct Approval level (column C) based on the "balance" amount (column A) and the "account risk" (column B)
In the table F2:I13 I have an overview where we can see that Approval Level is based on both Account risk and the amount in the balance. An example: A38 has an aprox value of 108 000 000 and "high" risk (B38). According to the table the correct approval level should then be 3 (F7)

I am assuming that the correct formula that solves this is able to:
1. Match Account Risk (B) with Account Risk (G)
2. Based on the account risk, use the balance in column A, matched up agains the interval in column H and then return the appropriate approval level found in column F.

Is there smart way to achieve this? My original sheet has several thousands rows.

Problemsheet.xlsx
ABCDEFGHI
1 Balance Account risk Aproval level ?Approval levelAccount RiskBalance Interval fromBalance Interval to
260 000 000Medium2Low2 000 000 000500 000 000
3100 717 150Medium2Medium1 000 000 000400 000 000
4291 801 382Medium2High500 000 000200 000 000
576 597 697Low3Low500 000 000160 000 000
672 889 993Low3Medium400 000 00080 000 000
7338 621 207Low3High200 000 00040 000 000
856 570 126Medium4Low160 000 00080 000 000
953 719 560Low4Medium80 000 00050 000 000
1060 109 142Low4High40 000 00030 000 000
1171 907 272Medium5Low60 000 0000
1273 540 327Low5Medium50 000 0000
1350 152 000Medium5High30 000 0000
14133 394 082Medium
15120 912 120Medium
1671 192 542Low
1767 208 449Low
18153 204 148Low
19127 731 123Low
20122 341 007Low
2166 739 017Medium
22244 694 674Medium
2355 150 944Low
2470 997 260Low
25171 335 580Low
2694 887 353Medium
2780 941 399Medium
2856 940 213Medium
2957 984 639Low
3063 337 692Low
3164 633 865Low
32289 969 685Low
3367 656 552Low
34174 817 557Low
3550 070 706Medium
3651 186 055Low
3773 146 922Low
38108 070 743highShould return the value 3
39170 799 567Low
Sheet1
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
Hi & welcome to MrExcel.
How about
Fluff.xlsm
ABCDEFGHI
1 Balance Account risk Aproval level ?Approval levelAccount RiskBalance Interval fromBalance Interval to
260,000,000Medium42Low2,000,000,000500,000,000
3100,717,150Medium32Medium1,000,000,000400,000,000
4291,801,382Medium32High500,000,000200,000,000
576,597,697Low43Low500,000,000160,000,000
672,889,993Low43Medium400,000,00080,000,000
7338,621,207Low33High200,000,00040,000,000
856,570,126Medium44Low160,000,00080,000,000
953,719,560Low54Medium80,000,00050,000,000
1060,109,142Low44High40,000,00030,000,000
1171,907,272Medium45Low60,000,0000
1273,540,327Low45Medium50,000,0000
1350,152,000Medium45High30,000,0000
14133,394,082Medium3
15120,912,120Medium3
1671,192,542Low4
1767,208,449Low4
18153,204,148Low4
19127,731,123Low4
20122,341,007Low4
2166,739,017Medium4
22244,694,674Medium3
2355,150,944Low5
2470,997,260Low4
25171,335,580Low3
2694,887,353Medium3
2780,941,399Medium3
2856,940,213Medium4
2957,984,639Low5
3063,337,692Low4
3164,633,865Low4
32289,969,685Low3
3367,656,552Low4
34174,817,557Low3
3550,070,706Medium4
3651,186,055Low5
3773,146,922Low4
38108,070,743high3
39170,799,567Low3
Data
Cell Formulas
RangeFormula
C2:C39C2=TAKE(FILTER($F$2:$F$13,($G$2:$G$13=B2)*($H$2:$H$13>=A2)),-1)
 
Upvote 0
Solution
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
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