SheetsLessons
Math & Counting function

AVERAGE function in Google Sheets

AVERAGE returns the arithmetic mean: it adds up the numbers and divides by how many there are. Blank cells and text are left out of both the total and the count.

Syntax

=AVERAGE(value1, [value2, ...])
value1
The first number, cell or range to average.
value2, ...
Optional. More values or ranges.

Practice AVERAGE

Task 1 of 3

What is the class average? Put it in D2.

D2
fx

Tip: while typing a formula, click a cell or drag across cells to insert references. Press Enter to check, and Tab to accept a function suggestion.

AVERAGE examples

Each example below runs against this sample sheet. The results are calculated by the same engine as the practice grid.

ABCD
1StudentClassScorePassed
2PriyaA92TRUE
3LeoB67FALSE
4ChloeA48FALSE
5MateoB81TRUE
6InesCFALSE
7KaiC75TRUE
Test scores (Ines missed the test)
FormulaResultWhat it shows
=AVERAGE(C2:C7)72.6Ines's blank score is ignored, so this divides by 5, not 6.
=AVERAGE(C2, C5)86.5Average of two specific cells.
=ROUND(AVERAGE(C2:C7), 1)72.6Round the result to one decimal place.

Tips and common mistakes

  • A blank cell is not the same as 0. If a missing value should count as zero, enter 0 in the cell.
  • If the range contains no numbers at all, AVERAGE returns #DIV/0!.
  • When a few extreme values distort the result, MEDIAN is often a better "typical" value.

Related functions