How many matchs can you have in an Index Match formula

Anguscat

Board Regular
Joined
Jul 17, 2007
Messages
53
I am trying to use and index match formula

=INDEX('DataTab'!C25:J59,MATCH(A20,'SummaryData'!B25:B59,0),MATCH(B16,'SummaryData'!C4:H4,0),MATCH(B15,'SummaryData'!C2:CI2,0))

I got the first part to work but then I added in a 3rd Match criteria, is this possible?

Thanks,
Bill
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
It's not a limit of how many matches you can have...
It's the limit of how many arguments INDEX has...

Syntax is
=INDEX(Range,Row#,Col#) - 3 arguments
You have
=INDEX(Range,match1,match2,match3) - 4 arguments


I think I see what you want...Try

=INDEX('DataTab'!C25:J59,MATCH(A20,'SummaryData'!B25:B59,0),MATCH(B16&"|"&B15,'SummaryData'!C4:J4&"|"&'SummaryData'!C2:J2,0))

IMPORTANT
This is an array formula that requires CTRL + SHIFT + ENTER
After entering the formula, highlight the cell with formula and press F2
Then press CTRL + SHIFT + ENTER
When entered correctly, the formula will be enclosed in {brackets}


Hope that helps.
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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