What am I doing wrong with this Index/Match

JeffGrant

Well-known Member
Joined
Apr 7, 2021
Messages
519
Office Version
  1. 365
Platform
  1. Windows
Can somebody please tell me why this simple Index/Match isn't working. I can't seem to see the forest for the trees :(



Book1
BCDEFGH
2123
31abcColumn Look Up1
42defRow Look Up 1
53hijResult#N/A
Sheet1
Cell Formulas
RangeFormula
H5H5=INDEX(C3:E5,MATCH(1,(H3=C2:E2)*(H4=B3:B5),0))
Press CTRL+SHIFT+ENTER to enter array formulas.


Please note that this is entered as an array formula.

Thanks for your patience
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
You are mixing rows & column, try
Excel Formula:
=INDEX(C3:E5,MATCH(H4,B3:B5,0),MATCH(H3,C2:E2,0))
 
Upvote 0
Solution
Thanks Fluff. That is perfect. Works great. I have not seen syntax like that before. Is that syntax only available in 365?
 
Upvote 0
No, that's the standard syntax for the index function when isolating rows & columns.
 
Upvote 0

Forum statistics

Threads
1,215,491
Messages
6,125,109
Members
449,205
Latest member
ralemanygarcia

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