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