Finally, we use SUMPRODUCT to add up the values in the array returned by SUMIF.

Because there is only a single array, SUMPRODUCT simply returns the sum of all values.

Criteria can be applied to dates, numbers, and text.

Excel SUMIF function

for partial matching….

SUMPRODUCT Function

The Excel SUMPRODUCT function multipliesrangesorarraystogether and returns the sum of products.

Excel SUMPRODUCT function