AVERAGE

The AVERAGE function returns the numerical average value in a dataset, ignoring text.

Examples

Make a copy

AVERAGE for BigQuery

Sample usage

Returns the numerical average value in a data column.

Sample usage

AVERAGE(table_name!price)

Syntax

AVERAGE(column)

  • column: The data column to consider when calculating the average value.

Tip: Averaging multiple columns is not supported.

Learn more about numeric columns in BigQuery

Sample usage

AVERAGE(A2:A100,B2:B100,4,26)

AVERAGE(1,2,3,4,5,C6:C20)

Syntax

AVERAGE(value1, [value2, ...])

  • value1 – The first value or range to consider when calculating the average value.

  • value2, ...[ OPTIONAL ] – Additional values or ranges to consider when calculating the average value.

Notes

  • Although AVERAGE is specified as taking a maximum of 30 arguments, Google Sheets supports an arbitrary number of arguments for this function.

  • Any text encountered in the value arguments will be ignored. To have text values considered as 0 values, use AVERAGEA.

  • AVERAGE returns the mean of the combined value arguments; that is, the sum of the values in the value arguments divided by the number of such values. To calculate the median use MEDIAN.

See also

TRIMMEAN: Calculates the mean of a data set excluding some proportion of data from the high and low ends of the data set.

SMALL: Returns the nth smallest element from a data set, where n is user-defined.

RANK: Returns the rank of a specified value in a data set.

QUARTILE: Returns a value nearest to a specified quartile of a data set.

PERCENTRANK: Returns the percentage rank (percentile) of a specified value in a data set.

PERCENTILE: Returns the value at a given percentile of a data set.

MINA: Returns the minimum numerical value in a data set.

MIN: Returns the minimum value in a numerical data set.

MEDIAN: Returns the median value in a numerical data set.

MAXA: Returns the maximum numerical value in a data set.

LARGE: Returns the nth largest element from a data set, where n is user-defined.

HARMEAN: Calculates the harmonic mean of a data set.

GEOMEAN: Calculates the geometric mean of a data set.

AVERAGEA: Returns the numerical average value in a data set.

true
Visit the Learning Center

Using Google products, like Google Docs, at work or school? Try powerful tips, tutorials, and templates. Learn to work on Office files without installing Office, create dynamic project plans and team calendars, auto-organize your inbox, and more.

Search
Clear search
Close search
Main menu
3012211484202439315
true
Search Help Centre
true
true
true
true
true
35
false
false