ReferenceFunctionsMath Functions
SUMPRODUCT
SUMPRODUCT: Multiplies aligned values across arrays and returns the sum of those products.
Summary
SUMPRODUCT supports scalar or range inputs, applies broadcast semantics, and accumulates
the product for each aligned cell position.
Remarks
- Input shapes must be broadcast-compatible; otherwise
SUMPRODUCTreturns#VALUE!. - Non-numeric values are treated as
0during multiplication. - Any explicit error value in the inputs propagates immediately.
Examples
Pairwise sum of products
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
32
Range-based sumproduct
Grid
| Cell | Value | |
|---|---|---|
Formula
=
Result
Not evaluated yet.
Expected
200
Text entries contribute zero
Grid
| Cell | Value | |
|---|---|---|
| No inputs on Sheet1. | ||
Formula
=
Result
Not evaluated yet.
Expected
4
Related functions
FAQ
Why does SUMPRODUCT return #VALUE! with some array shapes?
The argument arrays must be broadcast-compatible; incompatible shapes raise #VALUE!.
How are text values handled in multiplication?
Non-numeric values are treated as 0, unless an explicit error is present.
Runtime metadata
Category
Math
Signature
SUMPRODUCT(arg1…: Number (Range))This function accepts a repeating argument pattern (min args: 1).
Arity
min 1, max variadic
Arguments
arg1Number · Range · coercion NumberLenientText
Caps
PUREREDUCTION
Source