AVERAGEIFS
Supported, behaves as documentedCategory: Statistical · 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 |
|---|---|---|---|---|
| =AVERAGEIFS(A1:A5,B1:B5,">2") | Average of A where paired B > 2 | 40 | 40 Average of 30,40,50 = 40 |
Matched |
| =AVERAGEIFS(A1:A5,B1:B5,">1",C1:C5,"<5") | Two AND-ed criteria ranges | 25 | 25 Only rows 2,3 satisfy B>1 AND C<5; average of 20,30 = 25 |
Matched |
| =AVERAGEIFS(A1:A3,B1:B3,">100") | No rows satisfy the criteria -> #DIV/0! | #DIV/0! | #DIV/0! | Matched |
| =AVERAGEIFS(A1:A3,B1:B3,"a*") | Wildcard text criteria | 20 | 20 apple and avocado match a*; average of 10,30 = 20 |
Matched |
Docs & syntax
- Excel: official documentation
- Google Sheets: official documentation
- LibreOffice Calc: official documentation