COUNTIFS
Supported, behaves as documentedCategory: Statistical · Last tested 2026-08-06
Real, executed compatibility results for the COUNTIFS 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 COUNTIFS’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 |
|---|---|---|---|---|
| =COUNTIFS(A1:A5,">20") | Count of cells > 20 | 3 | 3 | Matched |
| =COUNTIFS(A1:A5,">10",B1:B5,"<5") | Two AND-ed criteria ranges | 2 | 2 Rows 2,3 satisfy A>10 AND B<5 (rows 4,5 fail B<5); rows matching: (20,2),(30,3) |
Matched |
| =COUNTIFS(A1:A3,">100") | No matches -> 0 | 0 | 0 | Matched |
| =COUNTIFS(A1:A3,"a*") | Wildcard text criteria | 2 | 2 | Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation
Related how-to recipes
- How to count cells between two values
- How to count dates within a range
- How to count with multiple criteria (COUNTIFS)
- How to use COUNTIFS (count with multiple conditions)
- How to rank values within groups