Index with multiple matches (verticle & horizontal)

cshetty

Board Regular
Joined
Apr 15, 2017
Messages
84
Office Version
  1. 2016
Platform
  1. Windows
Dear Experts
Please help me to tune this formula.

=INDEX($F$4:$M$10,MATCH(1,($E15=$D$4:$D$10)*(F$14=$E$4:$E$10),0),MATCH(1,($D15=$F$3:$M$3),0))

Data layout image attached.

Thank you in advance.
 

Attachments

  • Index Match.jpg
    Index Match.jpg
    90.6 KB · Views: 10
@MARZIOTULLIO
Answering a question asked of you with a video that is over an hour long is not appropriate.


@cshetty
the syntax would be Index(range, row, col). Why we use row number as ZERO when we use Index function inside other function ?
It is not related to the INDEX being inside another function. When 0 is used for the row number in INDEX then INDEX will return all rows. It is covered by the 3rd bullet point in the Remarks section of the INDEX Help

Here is a simple example. The index function returns all rows (because of the zero) of the second column of the target range.

24 11 22.xlsm
ABCD
1abb
2cdd
3eff
4ghh
INDEX sample
Cell Formulas
RangeFormula
D1:D4D1=INDEX(A1:B4,0,2)
Dynamic array formulas.
 
Upvote 0

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.

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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