Index / match formula not working.

countryfan_nt

Well-known Member
Joined
May 19, 2004
Messages
758
Hello friends, Hope all is well!

=INDEX(Sheet1!$L$5:$T$16,MATCH(C4,Sheet1!$J$5:$J$16,0),MATCH(Sheet1!D4,Sheet1!$K$5:$K$16,0),MATCH(Sheet1!E4,Sheet1!$L$4:$T$4,0))
The above formula isn't working for some reason. please help.
Thank you very much in Advance!

Capture.PNG
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
For muti-criteria, do not use three math, please try (eg.) this kind of fromat: match(C4&D4&E4, J5:L16 & K5:K16, 0)
You should join the criteria with "&"
Meanwhile, the range of L4:T4, should be the same dimension with J and K, better to transpose it first.
 
Upvote 0
Try this:

=INDEX(Sheet1!$L$5:$T$16,MATCH(D4&E4,INDEX(Sheet1!$J$5:$J$16&Sheet1!$K$5:$K$16,0),0),MATCH(F4,Sheet1!$L$4:$T$4,0))
 
Upvote 0
Solution
It helps if you let us know what version of Excel you are using. If you have Excel 365 with the FILTER function then try:
FILTER(FILTER($L$5:$T$16,($J$5:$J$16=$C4)*($K$5:$K$16=$D4),""),$L$4:$T$4=$E4)
 
Upvote 0

Forum statistics

Threads
1,215,003
Messages
6,122,655
Members
449,091
Latest member
peppernaut

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