Excel SUMPRODUCT function

Multiplies ranges row by row and adds up the results: the total of quantity × price in one formula. In Spanish Excel it is called SUMAPRODUCTO.

Syntax

English Excel

=SUMPRODUCT(array1, [array2], …)

Spanish Excel (Mexico)

=SUMAPRODUCTO(matriz1, [matriz2], …)

Spanish Excel (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.

=SUMPRODUCT(B2:B6,C2:C6)

Common mistake

It also takes conditions: SUMPRODUCT((A2:A10="North")*B2:B10) adds only North, even in old Excel versions.

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.

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 Excel it is SUMAPRODUCTO. The formula =SUMPRODUCT(B2:B6,C2:C6) is written =SUMAPRODUCTO(B2:B6;C2:C6) (or with commas in Mexico).
Why does SUMPRODUCT use semicolons in some Excel versions?
It depends on regional settings. Where the comma is the decimal mark (Spain, much of South America), Excel separates arguments with semicolons. English Excel and Mexican Spanish Excel use commas.
What is the most common SUMPRODUCT mistake?
It also takes conditions: SUMPRODUCT((A2:A10="North")*B2:B10) adds only North, even in old Excel versions.