How to use the AVERAGE function in Excel

Mar 17, 2020 • edited Mar 18, 2020

Finding averages is often required when working with spreadsheets.

It’s a rather basic task—but Excel can do all sorts of great things with averages.

The Excel AVERAGE function returns the average of values provided. AVERAGE can handle up to 255 individual arguments, which can include numbers, cell references, ranges, arrays, and constants.


The AVERAGE function in Excel calculates the average (arithmetic mean) of a group of numbers. The AVERAGE function ignores logical values, empty cells and cells that contain text.

Average

Instead of the AVERAGE function, use the SUM and the COUNT function.

  1. For example, the AVERAGE function below calculates the average of the numbers in cells A1 through A3.

Average Function in Excel

  1. The formula below produces the exact same result.

Sum and Count

  1. The following AVERAGE function calculates the average of the numbers in cells A1 through A3 and the number 8.

Calculate Average

  1. The AVERAGE function ignores logical values (TRUE or FALSE), empty cells and cells that contain text.

Logical Values, Empty Cells and Cells that Contain Text are Ignored

AverageA

The AVERAGEA function also returns the average (arithmetic mean) of a group of numbers. However, the logical value FALSE and cells that contain text evaluate to 0 and the logical value TRUE evaluates to 1. The AVERAGEA function also ignores empty cells.

  1. For example, take a look at the AVERAGEA function below.

AverageA Function in Excel

  1. You can use the normal AVERAGE function to check this result.

Normal Average Function

Average Top 3

Use the AVERAGE and the LARGE function in Excel to calculate the average of the top 3 numbers in a data set.

  1. First, the AVERAGE function below calculates the average of the numbers in cells A1 through A6.

Simple Average

  1. For example, to find the third largest number, use the following LARGE function.

Large Function

  1. The formula below calculates the average of the top 3 numbers.

Average Top 3

Explanation: the LARGE function returns the array constant {20,15,10}. This array constant is used as an argument for the AVERAGE function, giving a result of 15.

AverageIf

To calculate the average of cells that meet one criteria, use the AVERAGEIF function in Excel.

AverageIf Function

Weighted Average

To calculate a weighted average in Excel, use the SUMPRODUCT and the SUM function.

Weighted Average

Moving Average

Use the Analysis Toolpak to calculate the moving average of a time series in Excel.

Moving Average

Note: a moving average is used to smooth out irregularities (peaks and valleys) to easily recognize trends.

#Tutorial#How To#Functions

How to use Index Match in Excel

Financial Forecasting Using Percent of Sales