SUMPRODUCT
Supported, behaves as documentedCategory: 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
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| 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 version | Verdict | Tested |
|---|---|---|
| 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)
| Formula | Description | Result | Expected | Verdict |
|---|---|---|---|---|
| =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
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation
Related how-to recipes
- How to check if a cell contains any word from a list
- How to count cells that contain errors
- How to count the total words in a range
- How to multiply two columns (and total the result)
- How to calculate progressive tax with brackets in one formula
- How to round line items before summing (and why totals look 'off by a cent')
- How to sum values by day of the week
- How to sum every nth row
- How to sum the top N values in a range
- How to sum values by month
- How to calculate tiered sales commission in one formula
- How to calculate a weighted average