ExcelCSE.com

Menu
  • Excel 101
  • Excel Functions
  • Excel Formula
  • Contact Us
How to Use Excel > Excel Functions > Excel SUMPRODUCT Function

Excel SUMPRODUCT Function

How to Use the Excel SUMPRODUCT Function
Table of contents :
  • What is SUMPRODUCT Function?
  • SUMPRODUCT Syntax
  • How to Use SUMPRODUCT Function in Excel
  • SUMPRODUCT Examples

Excel SUMPRODUCT Function

What is SUMPRODUCT Function?

The SUMPRODUCT function multiplies corresponding ranges or arrays and returns the sum of those products.

SUMPRODUCT Syntax

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

array1, required. The first data to be multiplied, then sum.

[array2], optional. The second data to be multiplied, then sum.

Usage notes:

  • array argument must have the same dimensions, otherwise it will generate error #VALUE!.
  • Any non-numeric value will be considered as number 0

How to Use SUMPRODUCT Function in Excel

Suppose there is data like the picture below. How is the result of the SUMPRODUCT function in column F?

SUMPRODUCT Formula in Excel

SUMPRODUCT Function #1

=SUMPRODUCT(B2:B7)

There is only 1 array. If the SUMPRODUCT function uses only its first array, then the result is the same as the SUM function result.

The result is 21.

SUMPRODUCT Function #2

=SUMPRODUCT(B2:B7,C2:C7)

The SUMPRODUCT function use 2 arrays. Excel will multiply the number in the first array with the number in the second array then add it up.

=(1*1)+(2*1)+(3*2)+(4*3)+(5*5)+(6*8)

The result is 94.

SUMPRODUCT Function #3

=SUMPRODUCT(B2:B7,C2:C6)

Similar to the SUMPRODUCT function #2, but the first and second array dimensions are not the same. The first array has 7 numbers while the second array has only 6 numbers. Array dimensional differences generate error #VALUE!.

SUMPRODUCT Function #4

=SUMPRODUCT(A2:A7,B2:B7,C2:C7)

The SUMPRODUCT function use 3 arrays, all have the same dimensions, but the first array contains text. All data other than numbers will be considered 0. All numbers multiplied by the number 0 result is 0.

You can see the complete results of all SUMPRODUCT functions in the picture below.

What does SUMPRODUCT Do

SUMPRODUCT Examples

There is a purchase transaction as shown below.

How to Use SUMPRODUCT in Excel

What is the price of all smartphone purchases above? Which excel function will be used?

The easiest way is using the helper column, then sum it using the Excel SUM function, but the Excel SUMPRODUCT function can answer questions without a helper column.

The Formula

=SUMPRODUCT(C2:C5,D2:D5)

The Result

How to Use SUMPRODUCT Function in Excel

Simple, fast, accurate and no helper column 🙂

For solutions using SUM function and a helper column, please read the article below.

  • Relative Cell Reference Example
Another article using or explain about SUMPRODUCT Function
  • VLOOKUP Multiple Criteria – Solution for Numeric or Non-Numeric Result
  • SUMPRODUCT IF – Multiple Criteria SUMPRODUCT
  • SUMIF Multiple Criteria
  • SUMIFS Limitations and Solutions

Another Math Function

Another article about Math Function
  • Excel SUBTOTAL Function
  • Excel AGGREGATE Function
  • Excel PRODUCT Function
  • Excel CONVERT Function
  • Excel SUMIFS Function
  • Excel SUMIF Function
  • Excel SUM Function
  • Excel SUMPRODUCT Function
  • Excel QUOTIENT Function
  • Excel MOD Function
Usefull links
  • Microsoft SUMPRODUCT function documentation
Share
Tweet
Google+
Email
Prev Article
Next Article

Related Articles

Excel TRIM Function
What is the Excel TRIM Function? The excel TRIM function …

Excel TRIM Function

Excel TIMEVALUE Function
What is the Excel TIMEVALUE Function? The Excel TIMEVALUE function …

Excel TIMEVALUE Function

Excel INT Function
What is the Excel INT Function? The excel INT function …

Excel INT Function

Excel FIND Function
What is the Excel FIND Function? The excel FIND function …

Excel FIND Function

Excel NUMBERVALUE Function
What is the Excel NUMBERVALUE Function? Excel NUMBERVALUE function converts …

Excel NUMBERVALUE Function

Tags:Excel SUMPRODUCT Function How Does SUMPRODUCT Work How to Do SUMPRODUCT in Excel How to Use SUMPRODUCT How to Use SUMPRODUCT Function in Excel How to Use SUMPRODUCT in Excel Math Function SUMPRODUCT Array Formula SUMPRODUCT Examples SUMPRODUCT Excel SUMPRODUCT Excel Example SUMPRODUCT Formula SUMPRODUCT Formula In Excel Using SUMPRODUCT What Does SUMPRODUCT Do What is SUMPRODUCT What is SUMPRODUCT Function in Excel

Categories

  • Excel 101
  • Excel Formula
  • Excel Functions

Recent Posts

  • Get the Original Price from Percentage Increase/Decrease
  • How to Add/Subtract Percentage in Excel
  • How to Extract Day, Month and Year from Date in Excel
  • How to Add Seconds, Minutes and Hours to a Time in Excel
  • How to Add Days, Weeks, Months and Years to a Date in Excel
  • How to Calculate Time Difference in Excel
  • Calculate Number of Days, Weeks, Months and Years Between Two Dates in Excel
  • Flash Fill Excel
  • Paste Special Excel
  • Excel TEXTJOIN Function
  • Excel CONCAT Function
  • Excel CONCATENATE Function
  • Excel REPLACE Function
  • Excel SUBSTITUTE Function
  • Excel REPT Function
  • Excel FIND Function
  • Excel SEARCH Function
  • Excel MID Function
  • Excel RIGHT Function
  • Excel LEFT Function

ExcelCSE.com

The Ultimate Guide How to Use Excel Better
Copyright © 2024 ExcelCSE.com
Contact Us - Privacy Policy - Sitemap | Theme by MyThemeShop.com

Ad Blocker Detected

Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Refresh