Google Sheets SUMPRODUCT function

Multiplies the ranges row by row and adds up the results. In Spanish Sheets it is called SUMAPRODUCTO.

Syntax

English Sheets

=SUMPRODUCT(array1, [array2], …)

Spanish Sheets (Mexico locale)

=SUMAPRODUCTO(matriz1, [matriz2], …)

Spanish Sheets (Spain, Latin America)

=SUMAPRODUCTO(matriz1; [matriz2]; …)

ArgumentWhat it is
array1The first range.
array2optionalMore ranges of the same size.

Example

SUMPRODUCT multiplies the ranges row by row and adds up the results. It gives the total of a shopping list without a helper column and without ARRAYFORMULA.

=SUMPRODUCT(B2:B6,C2:C6)

Common mistake

The ranges must be the same size. It already works as an array, so it does not need ARRAYFORMULA.

About Ads

This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.

Advertising
Loading ad...

Ads help us keep WebHerramientas free for everyone

Practice SUMPRODUCT

Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons

SUMPRODUCT

SUMPRODUCT multiplies the ranges row by row and adds up the results. It gives the total of a shopping list without a helper column and without ARRAYFORMULA.

Example=SUMPRODUCT(B2:B6,C2:C6)SUMAPRODUCTO = SUMPRODUCT

In F2, calculate the shopping total (quantity times price for each item, all added up) in a single formula.

F2
ABCDEFG
1ItemQuantityPrice
2Milk628Shopping total
3Eggs (dozen)252
4Bread345
5Apples (kg)1.548
6Coffee1189
7

Tip: while typing, click a cell or drag across several to insert their reference.

Frequently asked questions

What is SUMPRODUCT called in Spanish?
In Spanish Google Sheets it is SUMAPRODUCTO. The formula =SUMPRODUCT(B2:B6,C2:C6) is written =SUMAPRODUCTO(B2:B6;C2:C6) (or with commas under a Mexico locale).
Why does SUMPRODUCT use semicolons in some spreadsheets?
It depends on each spreadsheet's locale, under File > Settings. Where the comma is the decimal mark (Spain, much of South America), arguments are separated by semicolons. Mexico and United States locales use commas.
What is the most common SUMPRODUCT mistake?
The ranges must be the same size. It already works as an array, so it does not need ARRAYFORMULA.