SUMIF
Supported, behaves as documentedCategory: Math and trigonometry · Last tested 2026-07-04
Support matrix
| Engine | Documented | Live-tested | Verdict |
|---|---|---|---|
| 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)
| 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