← All functions

SUMPRODUCT

Supported, behaves as documented

Category: Math and trigonometry · Last tested 2026-07-04

Support matrix

EngineDocumentedLive-testedVerdict
Excel Yes Not yet n/a
Google Sheets Yes Not yet n/a
LibreOffice Calc Yes Yes (24.2.7.2, 2026-07-04) Supported, behaves as documented

Executed test cases

LibreOffice Calc 24.2.7.2 (tested 2026-07-04)

FormulaDescriptionResultExpectedVerdict
=SUMPRODUCT(A1:A3,B1:B3) Sum of pairwise products across two equal-sized arrays 140 140
1*10+2*20+3*30 = 10+40+90 = 140
Matched
=SUMPRODUCT(A1:A3) With only one array argument, SUMPRODUCT just sums its elements 6 6 Matched
=SUMPRODUCT(--(A1:A5>2)) Classic double-unary-minus idiom coerces a boolean array to 1/0 to count matches without an extra helper column 3 3
A3,A4,A5 satisfy >2; --(...) turns TRUE/FALSE into 1/0 and SUMPRODUCT sums them
Matched
=SUMPRODUCT((A1:A5>2)*B1:B5) Multiplying a boolean condition array by a value array replicates SUMIF without a separate criteria function 120 120
Rows where A>2 (rows 3,4,5) contribute their B value: 30+40+50=120
Matched
=SUMPRODUCT(A1:A3,B1:B2) Arrays of different dimensions cannot be multiplied element-wise -> #VALUE! #VALUE! #VALUE!
Microsoft docs: array arguments must have the same dimensions, otherwise SUMPRODUCT returns #VALUE!
Matched

Docs & syntax