Google Sheets SUMPRODUCT Function: Syntax, Examples & Tips

The SUMPRODUCT function multiplies corresponding elements in given arrays and returns the sum of those products, useful for weighted calculations.
Google Sheets
SUMPRODUCT(array1, [array2, ...])

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

On this page
  1. Parameters
  2. What is a SUMPRODUCT?
  3. A Practical Example
  4. SUMPRODUCT Formula
  5. Result of the Formula
  6. Why Use SUMPRODUCT?
  7. Key Takeaways:
  8. Example use case

Parameters

array1:
The first array or range of cells that you want to multiply and then sum.

array2:
An optional second array or range of cells that you want to multiply with array1. You can include additional arrays as needed.

What is a SUMPRODUCT?

The SUMPRODUCT function in Google Sheets is a versatile tool used to multiply corresponding components in given arrays and then sum those products. It can be particularly useful for performing calculations that involve multiple criteria, making it a powerful alternative to more complex formulas.

In simpler terms, SUMPRODUCT allows you to calculate totals based on multiple conditions or criteria without needing to create additional helper columns.

A Practical Example

Imagine you are managing a sales report that includes product sales data stored in a Google Sheets spreadsheet:

Sales Data Table:

ProductIDQuantityPrice
101325.00
102530.00
103215.00

You want to calculate the total revenue generated from the sales of these products.

SUMPRODUCT Formula

To achieve this, you would use the SUMPRODUCT function as follows:

Google Sheets
=SUMPRODUCT(B2:B4, C2:C4)

In this formula:

  • B2:B4 is the range containing the Quantity sold for each product.
  • C2:C4 is the range containing the Price for each product.

Result of the Formula

When you apply the SUMPRODUCT formula to the Sales Data Table, the output would be:

Google Sheets
Total Revenue: 195.00

This result is calculated as follows:

  • (3 * 25.00) + (5 * 30.00) + (2 * 15.00) = 75.00 + 150.00 + 30.00 = 255.00

Why Use SUMPRODUCT?

SUMPRODUCT is beneficial because it simplifies the process of performing calculations across multiple ranges without the need for complex array formulas. It allows for easy aggregation of data based on various criteria, making it an essential tool for data analysis.

Key Takeaways:

  • SUMPRODUCT: A powerful function that multiplies corresponding components in arrays and sums the results.
  • Versatile: Can handle multiple criteria and ranges, making it suitable for various calculations.
  • Simplicity: Eliminates the need for complex nested functions, streamlining calculations.
  • Common Use Cases: Ideal for calculating totals, revenue, and any scenario where data aggregation is necessary.

SUMPRODUCT is an essential function for anyone working with data in Google Sheets, providing a straightforward way to enhance data analysis and reporting capabilities.

Happy spreadsheeting!

Example use case

You have a sales data table with Column A listing products, Column B showing quantities sold, and Column C displaying prices. Use SUMPRODUCT to calculate total revenue by multiplying quantities and prices, providing a quick overview of sales performance.

Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

  1. 01ChatGPTOpen a balanced comparison prompt in ChatGPT.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.

SUMPRODUCT in Google Sheets - Better Analyst