Multiplies the components of a given array and then returns the sum of the products
The SUMPRODUCT Function[1] is categorized under Excel Math and Trigonometry functions. The function will multiply the corresponding components of a given array and then return the sum of the products. It is used to calculate a weighted average.
As a financial analyst, SUMPRODUCT is a very handy function, as it can handle arrays in different ways and help in comparing data in two or more than two ranges. It also helps in calculating data with multiple criteria.
=SUMPRODUCT(array1,[array2],[array3],…)
The SUMPRODUCT function uses the following arguments:
To understand the uses of the SUMPRODUCT function, let’s consider a few examples:
Suppose we are given the following data:

We wish to find out the total sales for the West region. The formula to be used is:

The reason we provided the double negative (- -) is to force Excel to convert the TRUE and FALSE values into 1’s and 0’s.

A virtual representation of the two arrays as first processed by SUMPRODUCT is below:

The first array contains the TRUE/FALSE values that result from the expression C4:C12=”WEST”, and the second array is the contents of D4:D12. Each item in the first array will be multiplied by the corresponding item in the second array.
However, in the current state, the result of SUMPRODUCT will be zero, as the TRUE and FALSE values will be treated as zeroes. We need the items in array 1 to be numeric, so we need to convert them into 1’s and 0’s. This is where the double negative comes in, as it will treat TRUE as 1 and FALSE as 0.

We get the result below:

One common usage of the SUMPRODUCT function is to calculate a weighted average where each value is assigned a weight. Suppose we are given the following data:

Assume the values are given in cells C2:C8 and the weights in cells D2:D8. The weighted average SUMPRODUCT formula is:

We get the result below:

Click here to download the sample Excel file
Thanks for reading CFI’s guide to the Excel SUMPRODUCT function. By taking the time to learn and master these Excel functions, you’ll significantly speed up your financial analysis. To learn more, check out these additional CFI resources:
To master the art of Excel, check out CFI’s Excel Crash Course, which teaches you how to become an Excel power user. Learn the most important formulas, functions, and shortcuts to become confident in your financial analysis.
Launch CFI’s Excel Crash Course now to take your career to the next level and move up the ladder!