I am having problems with multi-criteria Index/Match and SumProduct.
I can get LOOKUP to work.
Can you look a test .xlsx file for me?
This works: =LOOKUP(2,1/($A$2:$A$6=D2)/($B$2:$B$6=E2),($C$2:$C$6))
This fails: =INDEX($C$2:$C$6,MATCH(D2&E2,$A$2:$A$6&$B$2:$B$6,0)) #VALUE!
=INDEX($C$2:$C$6,MATCH(D2&E2,A2:A6&B2:B6,0)) #VALUE!
=INDEX($C$2:$C$6,MATCH(1,(D2=$A$2:$A$6)*(E2=$B$2:$B$6),0)) #N/A
=INDEX($C$2:$C$6,SUMPRODUCT(($A$2:$A$6=D2)*($B$2:$B$6=E2)*ROW($C$2:$C$6)),0)
SUMPRODUCT seems to calculate "off a row" and "muffs" either the first or last row.
Again, I can get it to work. What I expected to get it done failed.
Bottom line I "burned" a lot of time at MS and other googled sites and LOOKUP is the only one standing.
Bookmarks