WorkbookLogic
FunctionFreeStatisticalbeginnerAVERAGESUMCOUNTIFROUND

AVERAGE Function

By WorkbookLogic

The Excel AVERAGE function returns the arithmetic mean of numeric values. Referenced blanks and text are excluded, while zero and negative numbers remain part of the calculation.

ExcelLast reviewed Sep 11, 2026
average-function-v1.0.0.xlsxFree
Excel AVERAGE Function
Change the cream cells to see how numeric count, not row count, controls each arithmetic mean.
Source data, editableAVERAGE examples
PeriodPrimary ScoreComparison ScoreMixed ValueExampleFormula syntaxResult
Period 182.0078.00100.00Contiguous range average=AVERAGE(B12:B21)65.22
Period 295.0092.00Selected cells only=AVERAGE(B12,B15,B19,B21)81.25
Period 30.0085.00PendingTwo separate ranges=AVERAGE(B12:B15,C12:C15)65.00
Period 488.000.0080.00Mixed range: blanks/text ignored=AVERAGE(D12:D21)66.67
Period 572.0074.000.00
Period 688.0060.00What counts in the denominator
Period 7100.00n/aBlank cells and referenced text are excluded from both sum and count.
Period 865.0070.0090.00Numeric zero is included, so it can lower the average.
Period 9-5.0095.00Negative values remain numeric observations and are included.
Period 1090.0080.0070.00
Reliability checks
Range average equals SUM divided by COUNT of numeric observationsOK
Mixed-range average uses only its six numeric cells, including zeroOK

Overview

The Excel AVERAGE function calculates an arithmetic mean: it adds the numeric observations and divides by the count of those observations. The important detail is that the denominator is the number of numeric values, not necessarily the number of cells in the range.

Quick reference

Syntax: =AVERAGE(number1, [number2], ...)

Returns: The sum of the numeric values divided by their numeric count. (number)

Arguments:

  • number1 (required) — The first number, cell reference, range, or array to average.
  • number2 (optional) — An additional number, cell reference, range, or array; more optional arguments may follow.

The bracketed arguments after number1 are optional. Supply additional values, references, ranges, or arrays when they belong to the same equal-weight population.

Common uses

  • Calculate mean scores, rates, prices, durations, or quantities.
  • Summarize a continuous range of equal-weight observations.
  • Average selected cells or several non-contiguous blocks.
  • Compare a result with SUM(range)/COUNT(range) during reconciliation.

Calculations

AVERAGE finds the sum and numeric count across all supplied arguments, then divides the sum by that count. Separate ranges are combined into one set of observations rather than averaged independently.

Referenced blanks and text are excluded from both the numerator and denominator. Numeric zero is included, so replacing a blank with zero usually lowers the result. Negative numbers are also included normally. If no numeric values are available, AVERAGE returns #DIV/0! because the denominator is zero.

This is an equal-weight calculation. It is not suitable for a weighted mean unless each observation genuinely deserves the same influence.

Function behavior

Situation

Behavior

Blank cells

Excluded from both the sum and numeric count.

Text in referenced cells

Excluded from both the sum and numeric count.

Logical values in referenced cells

Excluded; logical values typed directly as arguments are included.

Numeric text typed directly

Included when Excel can interpret it as a number; numeric text in a reference is excluded.

Zero

Included as a numeric observation and can lower the average.

Negative numbers

Included as numeric observations.

No numeric values

Returns #DIV/0!.

Errors

A referenced error propagates to the result.

Common errors

Dividing by the number of rows

What happens:
Blank or text cells are treated as if they were numeric observations, producing a denominator that does not match AVERAGE.

Better approach:
Let AVERAGE determine the numeric count, or use SUM(range)/COUNT(range) when the denominator needs to be shown explicitly.

Treating blanks and zero as equivalent

What happens:
A blank is excluded, while zero is included and changes the result.

Better approach:
Decide whether a missing observation and a genuine zero mean different things before entering the data.

Using a simple average for weighted data

What happens:
Small and large observations receive equal influence even when their volumes differ.

Better approach:
Use a weighted-average calculation, commonly built with SUMPRODUCT and a weight total.

Example

Example 1 — Average a Contiguous Range

=AVERAGE(B12:B21)

The sample range contains nine numeric scores and one blank. Their mean is approximately 65.22; the blank does not create a tenth observation.

Example 2 — Average Selected Cells

=AVERAGE(B12,B15,B19,B21)

Only four non-adjacent scores are included. The values 82, 88, 65, and 90 produce 81.25.

Example 3 — Average Multiple Ranges

=AVERAGE(B12:B15,C12:C15)

Excel combines all eight numeric cells before calculating the mean. The result is 65, not the average of two separately rounded results.

Example workbook

The workbook contains AVERAGE Example and Notes tabs. Four live examples cover a contiguous range, selected cells, two separate ranges, and mixed values. Reconciliation formulas compare the results with SUM divided by COUNT, making the denominator behavior auditable.

Key takeaway

AVERAGE divides by the number of numeric observations: blanks and referenced text disappear from the calculation, but zero and negative values remain.