Skip to content
Hellosheetwise
QuestionExample

How do I calculate an average?

AVERAGE adds the numbers and divides by how many numbers it found. Text and blank cells are left out.

BasicsBeginner4 minExcel · Google Sheets

Example content. The numbers are fictional and made for learning.

Answer

Type the values in a column, then use AVERAGE on that range. With 10, 20, and 30 in B2, B3, and B4, the average is 20.

Blank cells and words are ignored in both Excel and Google Sheets. If the range has no numbers, the result is a division error, because there is nothing to divide by. The divide-by-zero question shows how to show a blank instead.

AVERAGE is the English function name. A Swedish spreadsheet usually writes MEDEL. The formula page lists the usual name for each regional setting. Do not treat the English spelling, or the comma between arguments, as the form every spreadsheet accepts.

Average the three sample values.

English reference form

=AVERAGE(B2:B4)

This spelling uses English function names and commas between arguments. It is the reference form on this site, not the only spelling. A Swedish spreadsheet, for example, uses different function names and usually a semicolon. Cell names such as B2 stay the same.

See function names by language

Parts of the formula

  1. =

    Starts the formula.

  2. AVERAGE

    The English name of the mean function. Other languages use other names.

  3. B2:B4

    The cells to average. The colon means from B2 through B4.

Related