To calculate the average, Excel sums all numeric values and divides by the count of numeric values.

AVERAGE takes multipleargumentsin the formnumber1,number2,number3, etc.

up to 255 total.

AVERAGE function basic usage

Arguments can include numbers, cell references, ranges, arrays, and constants.

Empty cells, and cells that contain text or logical values are ignored.

However, zero (0) values are included.

AVERAGE function basic usage

you might ignore zero (0) values with theAVERAGEIFS function, as explained below.

The AVERAGE function will ignore logical values and numbers entered as text.

If it’s crucial that you include these values in the average, see theAVERAGEA function.

AVERAGE function basic usage

If the values given to AVERAGE contain errors, AVERAGE returns an error.

you’re able to use theAGGREGATE function to ignore errors.

Blank cells

The AVERAGE function automatically ignores blank cells.

AVERAGE function basic usage

To exclude zero values, useAVERAGEIForAVERAGEIFSinstead.

In the example below, AVERAGEIF is used to exclude zero values.

Like the AVERAGE function, AVERAGEIFautomatically excludesempty cells.

AVERAGE function basic usage

Average without #DIV/0!

The average function automatically ignores empty cells in a set of data.

However, if the range contains no numeric values, AVERAGE will return a #DIV/0!

AVERAGE function with blank cells

When the count is greater than zero, AVERAGE returns the average.This exampleexplains this idea in more detail.

For example, =MEDIAN(1,2,3,4,5) returns 3.

MODE Function

The Excel MODE function returns the most frequently occurring number in a numeric data set.

AVERAGEIF function exclude zero

For example, =MODE(1,2,4,4,5,5,5,6) returns 5.

AVERAGEA Function

The Excel AVERAGEA function returns the average of a set of supplied values.

AVERAGE function with mixed arguments

AVERAGEIFS function with criteria

AVERAGE function top 3

Weighted average with SUMPRODUCT

Excel formula: Average if with filter

Excel formula: Average by month

Excel formula: Weighted average

Excel formula: Average top 3 scores

Excel formula: Average last N values in a table

Excel formula: Average and ignore errors

Excel formula: Average last n rows

Excel formula: Average numbers ignore zero

Excel formula: Moving average formula

Excel formula: Average if not blank

Excel formula: Average call time per month

Excel formula: Average last n columns

Excel formula: Average last 3 numeric values

Excel formula: Basic average example

Excel formula: Coefficient of variation

Article image

Article image

Article image

Article image

Article image

Article image

Article image

Article image

Article image

Article image

Excel MEDIAN function

Excel MODE function

Excel AVERAGEA function

Excel AVERAGEIF function

Excel AVERAGEIFS function

Weighted average with SUMPRODUCT