AVERAGEIF
Supported, behaves as documentedCategory: Statistical · Last tested 2026-08-06
Real, executed compatibility results for the AVERAGEIF 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 AVERAGEIF’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 |
|---|---|---|---|---|
| =AVERAGEIF(A1:A5,">10") | Average of cells in the range itself that satisfy the criteria | 20 | 20 Average of 15,20,25 = 20 |
Matched |
| =AVERAGEIF(A1:A5,">2",B1:B5) | Criteria evaluated against A but matching B cells are averaged | 40 | 40 Rows 3,4,5 satisfy A>2; average of paired B = (30+40+50)/3 |
Matched |
| =AVERAGEIF(A1:A3,">100") | No cells satisfy the criteria -> #DIV/0! per Microsoft docs (same as AVERAGE of an empty set) | #DIV/0! | #DIV/0! | Matched |
| =AVERAGEIF(A1:A3,">0",B1:B3) | Blank cells in average_range are excluded from both the sum and the count, not treated as 0 | 20 | 20 A1:A3 all satisfy >0, but B2 is blank; average is (10+30)/2=20, not (10+0+30)/3 |
Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation