Index match

LebD

New Member
Joined
Sep 30, 2021
Messages
34
Office Version
  1. 365
Platform
  1. Windows
Hello

this should be an easy task for you experts:

I have 2 sheets, in the first sheet I want to lookup values from the second sheet that correspond to 3 variables.
2 of them are in columns, and one in a row.
So I write this formula:
=INDEX('Sheet2'!E3:L300,MATCH(C2,'Sheet2'!B:B,0),MATCH(B10,'Sheet2'!C:C,0),MATCH(E5,'Sheet2'!E1:L1,0))

But I have a #ref result or some random number. When I evaluate the formula, result of the first match shows row 67, second match row 7 and thrid match row 3. Those are matches.

The thing is I want the number that is at the intersection of the three MATCH.

So it is more like a 3 way lookup with index match

Ok i think i found it with this formula:
=INDEX($A$3:$D$11, MATCH(G1&G2,$A$3:$A$11&$B$3:$B$11,0), MATCH(G3,$A$2:$D$2,0))
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
How about
Excel Formula:
=FILTER(FILTER(Sheet2!E3:L300,(C2=Sheet2!B3:B300)*(B10=Sheet2!C3:C300)),E5=Sheet2!E1:L1)
 
Upvote 0

Forum statistics

Threads
1,214,583
Messages
6,120,375
Members
448,955
Latest member
BatCoder

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