Google Sheets AVERAGE function
Returns the arithmetic mean (average) of a set of numbers.
Syntax
=AVERAGE(value1, [value2, ...])
value1 | The first number, cell or range. |
|---|---|
value2, ... | Optional. More values to include. |
Try it
Edit the formula and the result updates instantly. Click a cell to add its reference.
Test scores
Result: 76.5
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Student | Score | Submitted | Min score | Grade | |
| 2 | Lily | 88 | TRUE | 0 | F | |
| 3 | Omar | 72 | TRUE | 60 | D | |
| 4 | Priya | 95 | TRUE | 70 | C | |
| 5 | Sam | FALSE | 80 | B | ||
| 6 | Tom | 64 | TRUE | 90 | A | |
| 7 | Uma | 59 | TRUE | |||
| 8 | Vic | 81 | TRUE |
Examples
These use the sample sheet above.
→ 76.5
Average score. Sam's blank cell is ignored, so this divides by 6, not 7.
→ 76.5
Wrap it in ROUND to show one decimal place.
Tips & common mistakes
- Blank cells are ignored, but cells containing 0 are counted. A blank and a zero give different averages.
- If the range has no numbers at all, AVERAGE returns #DIV/0!. Wrap it in IFERROR to show something friendlier.