Forum Discussion
cmccoy
Mar 07, 2019Copper Contributor
INDEX MATCH MATCH #N/A Error
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.
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.
- cmccoyCopper Contributor
- Detlef_LewinSilver Contributor
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.
- cmccoyCopper Contributor
- Detlef_LewinSilver Contributor
I forgot to mention that you have to delete the hyphen in C6 and D6