Index Match Multiple Criteria

MaddyK

New Member
Joined
Nov 25, 2016
Messages
2
I'm trying to look up a value based on multiple criteria rows x columns. The sample data looks as follows:

LevelTargetQuartileDiscipline
1
Discipline
2
Discipline
5
Discipline
6
Discipline
10
2BaseLQ 138,600.00 136,600.00
2BaseM 152,500.00 149,000.00
2BaseUQ 185,000.00 194,500.00
2TotalLQ 140,000.00 139,100.00
2TotalM 157,500.00 164,600.00
2TotalUQ 185,000.00 264,000.00
3BaseLQ127,700.00 118,600.00 93,500.00
3BaseM141,500.00156,500.00131,300.00 118,000.00
3BaseUQ145,000.00 144,600.00 156,100.00
3TotalLQ127,700.00 129,100.00 93,500.00
3TotalM141,500.00156,500.00138,000.00 123,400.00
3TotalUQ160,500.00 169,400.00 188,400.00

<colgroup><col><col><col><col span="5"></colgroup><tbody>
</tbody>

I want to look up the result for :
Level: 2
Target: Base
Quartile: LQ
Discipline: 5

I have tried the following with the result shown:

=index(A5:AA53,match(C2,A5:A53,0),match(E2,B5:B53,0),match(G2,C5:C53,0),match(I2,A5:AA5,0)) Result=You've entered too many arguments for this function
={INDEX(A4:AA52,MATCH(C2&E2&G2&I2,A4:A52&B4:B52&C4:C5&A4:AA4,0))} Result=#N/A
={INDEX($A$4:$AA$52,MATCH(I2,$A$4:$AA$4,0),MATCH(1,IF($A$4:$A$52=C2,IF($B$4:$B$52=E2,IF($C$4:$C$52=G2,1))),0))} Result=Total

What am I doing wrong?

Thank you for your help
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

BarryL

Well-known Member
Joined
Jan 20, 2014
Messages
1,436
Office Version
  1. 2019
Platform
  1. Windows
  2. MacOS
try the below array. modify it to fit your table.

{=INDEX(A1:H14,MATCH(1,(A:A=2)*(B:B="Base")*(C:C="LQ"),0),MATCH(5,2:2,0))}
 
Upvote 0

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,849
Office Version
  1. 365
Platform
  1. Windows
Maybe:

=INDEX($A$2:$H$14,MATCH(1,INDEX(($A$2:$A$14=2)*($B$2:$B$14="Base")*($C$2:$C$14="LQ"),0),0),MATCH(5,$A$2:$H$2,0))
 
Upvote 0

PlusX EAI

New Member
Joined
Nov 18, 2016
Messages
36
Your question gave me the impression that you are looking for sumifs rather then index-match ?
 
Upvote 0

steve the fish

Well-known Member
Joined
Oct 20, 2009
Messages
8,849
Office Version
  1. 365
Platform
  1. Windows
Same sort of thing with SUMIFS.

=SUMIFS(INDEX($D$2:$H$14,0,MATCH(5,$D$2:$H$2,0)),$A$2:$A$14,2,$B$2:$B$14,"Base",$C$2:$C$14,"LQ")
 
Upvote 0

Forum statistics

Threads
1,190,808
Messages
5,983,031
Members
439,815
Latest member
yoswosz

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
Top