Learn how to use the Excel SUMPRODUCT function with syntax and examples.
The Microsoft Excel SUMPRODUCT function multiplies the corresponding items in the arrays and returns the sum of the results.
The syntax for the Microsoft Excel SUMPRODUCT function is:
SUMPRODUCT( array1, [array2, ... array_n] )
array1, array2, ... array_n are the ranges of cells or arrays that you wish to multiply. All arrays must have the same number of rows and columns. You must enter at least 2 arrays and you can have up to 30 arrays.
The SUMPRODUCT function can be used in the following versions of Microsoft Excel:
The SUMPRODUCT function can be used in Microsoft Excel as the following type of function:
Let's look at some Excel SUMPRODUCT function examples and explore how to use the SUMPRODUCT function as a worksheet function in Microsoft Excel:
The above example would return 70. The SUMPRODUCT calculates these arrays as follows:
=(1*5) + (2*6) + (3*7) + (4*8)
You could also reference ranges in Excel.
Based on the Excel spreadsheet above, you could enter the following formula:
This would also return the value 70.