Excel SUMPRODUCT Function

This post will guide you how to use Excel SUMPRODUCT function with syntax and examples in Microsoft excel.

Description

The Excel SUMPRODUCT function multiplies corresponding components in the given one or more arrays or ranges, and returns the sum of those products. And it returns a numeric value.

The SUMPRODUCT function is a build-in function in Microsoft Excel and it is categorized as a Math and Trigonometry Function.

The SUMPRODUCT function is available in Excel 2016, Excel 2013, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000, Excel 2011 for Mac.

Syntax

The syntax of the SUMPRODUCT function is as below:

= SUMPRODUCT (array1,[array2],…)

Where the SUMPRODUCT function arguments are:

  • array1 -This is a required argument. The first array or range that you want to multiply and then add.
  • [array2],…– This is an optional argument.  The second array or range that you want to multiply and then add.

Note:

  • The array arguments must have the same dimensions, or it will return the #VALUE! Error.
  • The SUMPRODUCT treats non-numeric items in the arrays as zeros.

Example

The below examples will show you how to use Excel SUMPRODUCT Function to return the sum of products.

#1 To get the total amount of all products in the range B1:B5, just using the following excel formula:

=SUMPRODUCT(C2:C5,D2:D5)

sumproduct function example1

2# The arrays or ranges must have the same dimensions, otherwise returns the #VALUE error. See the below picture:

sumproduct function example2

3# non-numeric items in the arrays or ranges are treated as zeros.

sumproduct function example3

Comments

So empty here ... leave a comment!

Leave a Reply

Your email address will not be published. Required fields are marked *

Sidebar