SUMPRODUCT
returns sum of products of array components · from excel · excel: verified match · sheets: verified match
signature
SUMPRODUCT(array…)
returns: number
| argument | required |
|---|---|
| array… | required |
examples
formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.
| A | B | |
|---|---|---|
| 1 | 10 | 2 |
| 2 | 20 | 4 |
| 3 | 30 | 6 |
fx
=SUMPRODUCT(A1:A3, B1:B3) 280 errors
error values observed from the engine — each with a call that produces it.
| error | produced by |
|---|---|
| #VALUE! | =SUMPRODUCT(A1:A3,B1:B2) |