Index with multiple matches (verticle & horizontal)

cshetty

Board Regular
Joined
Apr 15, 2017
Messages
87
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: 12
@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

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
@MARZIOTULLIO
Answering a question asked of you with a video that is over an hour long is not appropriate.


@cshetty

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.
Thank you Peter for this crisp explanation. I got it now.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,162
Members
453,021
Latest member
Justyna P

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