✕
Share it

Contact me
iPhone / iPad

Tools

Hindi Proof Reader Top Tech Blogs in India QR Code Generator
Make Money Online Earn from Blogging More Tools MS-Excel MS-Word AdSense About Lalit Contact us
TechWelkin Site Logo

TechWelkin

Tips and Tutorials on Computers, Mobiles and Internet

Last updated: 4 August 2016

Excel SUMPRODUCT: Formula Examples and Tutorial

May 25, 2016 By Lalit Kumar Leave a Comment

Learn how to use SUMPRODUCT function of Excel. We have provided tutorial along with examples of formula usage in practical scenarios.

At first glance, for most people, the SUMPRODUCT formula of Excel may look “nice but useless”. However, there are situations when SUMPRODUCT turns out to be a very useful Excel formula. The meaning of SUMPRODUCT is the sum of products —the function does exactly what it says! This formula first multiplies various pairs of values and then sum up all the results. Here is an example:

sumproduct-use-case-techwelkin

In the above image, we may want to calculate the total payment to be made to all the employees. To do this, first we will have to multiply hours and rate and then add all the multiplication results. SUMPRODUCT is a function that can do all this very easily. In this tutorial, we will explain how to use SUMPRODUCT function.

Syntax of SUMPRODUCT in Excel

=SUMPRODUCT(array1, [array2], [array3], …)

SUMPRODUCT function takes one or more arrays as arguments. In Excel these arrays are basically cell ranges. Providing first array is mandatory and other arrays are optional. Let’s use this function to calculate the total payment to be made as shown in the above example.

  1. Select a cell where you want to show the result (we will use D10 for result)
  2. Type formula =SUMPRODUCT(B2:B8, C2:C8)
    sumproduct-formula-in-action-1
  3. Press Enter key and you will get 2762 as result

sumproduct-formula-in-action-2

This result is achieved as (39*8 + 44*14 + 35*9 + …. 41*9 = 2762)

Another Example

We can also use conditional SUMPRODUCT. This formula will first do a search like VLOOKUP and then will add up the results. Let’s assume that we want total payment only for those employees whose pay rate is over $10 and hour. For this we can use the following formula:

=SUMPRODUCT((C2:C8>10)*B2:B8,C2:C8)

sumproduct-use-example-1

The result will be 1518. Here the function will first lookup the values in column C where rate is over $10 and then it will multiply those values with corresponding values in column B.

Problems and Errors in SUMPRODUCT

#VALUE Error: The function shows #VALUE error when the arrays supplied as arguments are not of the same dimensions. This means that the number of items and dimensions must be same in all the cell ranges that you pass as arguments. Following formula will throw #VALUE error:

=SUMPRODUCT(B2:D8, C2:C8)

The error comes because first cell range B2:D8 is bigger than the second cell range C2:C8

Unexpected results: If any of the cell in the provided arguments contains a non-numerical value, then SUMPRODUCT will assume that that cell contains zero. When zero is multiplied with any number the result would be zero and thus the overall result of SUMPRODUCT will be wrong. So, you must make sure that all the cells contain only numeric values.

We hope that this tutorial was helpful for you in understand the SUMPRODUCT formula and its usage. If you have any question regarding this formula, please feel free to ask through comments section. We will try our best to assist you. Thank you for using TechWelkin!

Related Articles for More Information:

  1. How to Use VLOOKUP In Excel: Tutorial and Examples
  2. MS-Excel: How to Use Line Break in Formula
  3. Excel Flash Fill: Tutorial and Examples
  4. Conditional Formatting in Excel: Tutorial and Examples
  5. Pivot Table Tutorial and Examples in Excel
  6. MS Excel: How to Combine Values of Two Cells
Last updated: 4 August 2016 | Published on: 25 May 2016 | Authored and Edited by: Lalit Kumar and Team | Filed as: Home » Software » MS-Office » Excel » Excel SUMPRODUCT: Formula Examples and Tutorial

Filed Under: Excel

Lalit Kumar is the Principal Author and Founder of TechWelkin. He is a web explorer and he enjoys finding useful information on the Internet. He loves to put things together to create a bigger solution. Lalit is passionate about technology, languages and literature. You can contact Lalit via email (techwelkin [at] gmail [dot] com) or Facebook (facebook.com/techwelkin).

Leave a Reply Cancel reply

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

Recent Stories

  • Check Ticket Confirmation PNR Status on WhatsApp
  • Easily Capture Screen and Do Recording on iPhone / iPad
  • Consistent Video Upload is Important for YouTube Channel
  • Conditions for YouTube Channel Monetization
  • How to Get Your First 100 and 1000 Subscribers on YouTube
  • What is the Average Audience Retention for YouTube Channels?
  • Remove Activate Windows Watermark from Windows 10
  • Disadvantages of Using Google Custom Search Engine

Tools

  • Hindi Proof Reader
  • Top Tech Blogs in India
  • QR Code Generator
  • Random Word Generator
  • Strong Password Generator
  • Trace Mobile Numbers

Connect with us

  • Facebook
  • Google+
  • Twitter
  • LinkedIn
  • Pinterest
  • RSS Feed

© 2007-2019 TechWelkin.
The content is copyrighted to Lalit Kumar and may not be reproduced on other websites.
TechWelkin displays Google AdSense ads. See how Google uses data when you're on TechWelkin | Privacy Policy