SUMPRODUCT(array1, [array2, ...])One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
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.
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.
Imagine you are managing a sales report that includes product sales data stored in a Google Sheets spreadsheet:
| ProductID | Quantity | Price |
|---|---|---|
| 101 | 3 | 25.00 |
| 102 | 5 | 30.00 |
| 103 | 2 | 15.00 |
You want to calculate the total revenue generated from the sales of these products.
To achieve this, you would use the SUMPRODUCT function as follows:
=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.When you apply the SUMPRODUCT formula to the Sales Data Table, the output would be:
Total Revenue: 195.00This result is calculated as follows:
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.
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!
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.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.