SOLVED
Home

INDEX MATCH MATCH #N/A Error

cmccoy
New Contributor

HELP!

 

In a table of data, I need to match 3 variables and select the corresponding value.

Between the 3 variables, there should only be one match.

For the life of me, I can't sort this out :(

I've simplified in the attached screenshot, and attached a sample excel.

 

 

4 Replies

Hi

 

=SUMPRODUCT(($A$3:$A$8=A13)*($B$3:$B$8=B13)*($C$2:$F$2=C13)*($C$3:$F$8))

To get the expected result in D15 you have to change the text in B15.

 

I get a #VALUE! result with that, when trying as either a formula or array formula.

Screenshot attached.

 

Solution

Got it! 

=INDEX($C$3:$F$8,MATCH(1,(A13=$A$3:$A$8)*(B13=$B$3:$B$8),0),MATCH(C13,$C$2:$F$2,0))

Screenshot attached.

 

I forgot to mention that you have to delete the hyphen in C6 and D6 

Related Conversations
Stable version of Edge insider browser
HotCakeX in Discussions on
35 Replies
Tabs and Dark Mode
cjc2112 in Discussions on
23 Replies
flashing a white screen while open new tab
cntvertex in Discussions on
14 Replies
How to Prevent Teams from Auto-Launch
chenrylee in Microsoft Teams on
28 Replies
*Updated 9/3* Syncing in Microsoft Edge Preview Channels
Elliot Kirk in Articles on
222 Replies