Index match function with multiple criteria and duplicate value

AntonA

New Member
Joined
Aug 23, 2021
Messages
5
Office Version
  1. 2010
Platform
  1. Windows
Hi, I need help for solve my excel problem for index match function multiple criteria with duplicate text column (C4:C13), for index in Target cell, the formula can't work on Target cell (yellow collor)
 

Attachments

  • Index formula error.PNG
    Index formula error.PNG
    23.8 KB · Views: 9

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Hi
MrExcel has a tool called “XL2BB” that lets you post samples of your data that will allow us to copy/paste it to our Excel spreadsheets, so we can work with the same copy of data that you are. Instructions on using this tool can be found here: XL2BB Add-in

Note that there is also a "Test Here” forum on this board. This is a place where you can test using this tool (or any other posting techniques that you want to test) before trying to use those tools in your actual posts.
 
Upvote 0
For the following scenario below:
I4:
Excel Formula:
=INDEX($A$3:$F$12,MATCH(1,($A$3:$A$12=$I$2)*($B$3:$B$12=$H$4),0),MATCH($I$3,$A$2:$F$2,0))
I5:
Excel Formula:
=INDEX($A$3:$D$12,MATCH(1,($A$3:$A$12=$I$2)*($B$3:$B$12=$H$5),0),MATCH($I$3,$A$2:$F$2,0))
These are array formulas so hitting Enter is not enough. Press Ctrl+Shift+Enter together after paste.
1690899066800.png
 
Last edited by a moderator:
Upvote 0
Another option
Excel Formula:
=SUMPRODUCT(($A$3:$A$100=I2)*($C$2:$F$2=$I$3)*($B$3:$B$100=H4)*($C$3:$F$100))
 
Upvote 0

Forum statistics

Threads
1,215,076
Messages
6,122,987
Members
449,093
Latest member
Mr Hughes

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