Google Sheets AVERAGEIFS function
Averages the rows that meet every condition. In Spanish Sheets it is called PROMEDIO.SI.CONJUNTO.
Syntax
English Sheets
=AVERAGEIFS(average_range, criteria_range1, criterion1, [criteria_range2, criterion2], …)
Spanish Sheets (Mexico locale)
=PROMEDIO.SI.CONJUNTO(intervalo_promedio, intervalo_criterio1, criterio1, [intervalo_criterio2, criterio2], …)
Spanish Sheets (Spain, Latin America)
=PROMEDIO.SI.CONJUNTO(intervalo_promedio; intervalo_criterio1; criterio1; [intervalo_criterio2; criterio2]; …)
| Argument | What it is |
|---|---|
| average_range | What gets averaged. |
| criteria_range1 | The first range to check. |
| criterion1 | Its condition: a text, a number or a comparison like ">100". |
| criteria_range2, criterion2optional | More range-and-condition pairs. |
Example
AVERAGEIFS averages only the rows that meet every condition. As with SUMIFS, the average range comes first.
=AVERAGEIFS(D2:D10,B2:B10,"A",C2:C10,">=80")
Common mistake
The average range comes first, as in SUMIFS.
About Ads
This site uses Google AdSense to display ads. These ads help us keep WebHerramientas completely free. Ads are managed by Google and meet strict security and privacy standards.
Ads help us keep WebHerramientas free for everyone
Practice AVERAGEIFS
Type the formula in the sheet and check it instantly. Spanish or English function names both work. See all lessons
AVERAGEIFS
AVERAGEIFS averages only the rows that meet every condition. As with SUMIFS, the average range comes first.
In G2, calculate the average grade of group A students with 80% attendance or more.
| A | B | C | D | E | F | G | H | |
|---|---|---|---|---|---|---|---|---|
| 1 | Student | Group | Attendance % | Grade | ||||
| 2 | Ana | A | 95 | 9.1 | Group A average, 80%+ attendance | |||
| 3 | Luis | B | 88 | 7.4 | ||||
| 4 | Sofía | A | 72 | 6.8 | ||||
| 5 | Diego | A | 85 | 8.2 | ||||
| 6 | Valeria | B | 99 | 9.6 | ||||
| 7 | Mateo | A | 90 | 7.9 | ||||
| 8 | Paola | B | 65 | 5.9 | ||||
| 9 | Andrés | A | 79 | 7 | ||||
| 10 | Elena | B | 92 | 8.8 | ||||
| 11 |
Tip: while typing, click a cell or drag across several to insert their reference.
Frequently asked questions
- What is AVERAGEIFS called in Spanish?
- In Spanish Google Sheets it is PROMEDIO.SI.CONJUNTO. The formula =AVERAGEIFS(D2:D10,B2:B10,"A",C2:C10,">=80") is written =PROMEDIO.SI.CONJUNTO(D2:D10;B2:B10;"A";C2:C10;">=80") (or with commas under a Mexico locale).
- Why does AVERAGEIFS use semicolons in some spreadsheets?
- It depends on each spreadsheet's locale, under File > Settings. Where the comma is the decimal mark (Spain, much of South America), arguments are separated by semicolons. Mexico and United States locales use commas.
- What is the most common AVERAGEIFS mistake?
- The average range comes first, as in SUMIFS.