Please enable JavaScript to view the comments powered by Disqus.


SUMPRODUCT(...(...A8&B8=$A$2:$A$5&$B$2:$B$5)*(...$C$2:$C$5))

Two way lookup with SUMPRODUCT() function

A two way lookup can be performed by using SUMPRODUCT if we use "&" to connect the criteria as well as lookup range.


Used Functions

Category: Math and trigonometry

Returns the sum of the products of corresponding array components

Syntax

SUMPRODUCT(array1, [array2], [array3], ...)

Lets chat on this