SUMIF
Supported, behaves as documentedCategory: Math and trigonometry · Last tested 2026-08-06
Real, executed compatibility results for the SUMIF 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 SUMIF’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 |
|---|---|---|---|---|
| =SUMIF(A1:A5,">10") | Sum of cells in the range itself that satisfy the criteria (no sum_range) | 60 | 60 15+20+25=60; 5 and 10 fail the >10 test |
Matched |
| =SUMIF(A1:A5,">2",B1:B5) | Criteria evaluated against A but the matching B cells are summed | 120 | 120 Rows 3,4,5 satisfy A>2; sum of paired B = 30+40+50 |
Matched |
| =SUMIF(B1:B3,"a*",A1:A3) | Wildcard text criteria matches cells starting with 'a' | 4 | 4 apple(1)+avocado(3)=4; banana excluded |
Matched |
| =SUMIF(A1:A3,">100") | No cells satisfy the criteria -> 0 | 0 | 0 | Matched |
| =SUMIF(A1:A5,">0") | Blank cells interspersed in the range are simply skipped, not treated as matching or as errors | 30 | 30 A2 and A4 are blank (unset); only A1,A3,A5 exist and all satisfy >0 |
Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation
Related how-to recipes
- How to use the SUMIF function
- How to sum a column that contains errors
- How to sum values by category (conditional sum) with SUMIF
- How to sum values where a checkbox is checked
- How to sum only positive (or only negative) numbers
- How to sum where another column is not blank
- How to SUMIF across a row (horizontal SUMIF)
- How to SUMIF from another sheet
- How to SUMIF with OR criteria (this value or that one)
- How to SUMIF with a wildcard (sum rows that start with / contain text)