← All functions

SUMPRODUCT

Supported, behaves as documented

Category: Math and trigonometry · Last tested 2026-08-06

Real, executed compatibility results for the SUMPRODUCT function across Microsoft Excel, Google Sheets, and LibreOffice Calc — verified by actually running it. Syntax and links to each vendor’s official documentation are below.

Support matrix

EngineDocumentedLive-testedVerdict
Excel Yes Not yet n/a
Google Sheets Yes Not yet n/a
LibreOffice Calc Yes Yes (25.8.7.3, 2026-08-06) Supported, behaves as documented

LibreOffice version history

We executed the same test cases under each LibreOffice release to show exactly when SUMPRODUCT’s support changed — not documentation claims, real results.

LibreOffice versionVerdictTested
24.2.0.3 Supported, behaves as documented 2026-07-19
24.8.7.2 Supported, behaves as documented 2026-07-19
25.2.0.3 Supported, behaves as documented 2026-07-24
25.8.7.3 Supported, behaves as documented 2026-08-06

Executed test cases

LibreOffice Calc 25.8.7.3 (tested 2026-08-06)

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

Related how-to recipes

Compared against other functions