Home  /  Blog  /  Finance & Stats
Finance & Stats

Average Formula in Excel — How to Use AVERAGE (With Examples)

By admin 26 November 2026 Finance & Stats

The average is the centre of your numbers: add them all up, divide by how many there are, and you have one number that stands for the whole list. In Excel the formula is one line — AVERAGE — and it works on a column, a row, a range, or a handful of typed numbers. The one rule that catches everyone is the zero rule: a zero counts in the average, but a blank cell does not. A student who scored 0 and a student who has not taken the exam yet are not the same thing, and Excel knows the difference — if you set the sheet up right. This guide gives you the formula first, works it through on a real column, and covers percentages, times, the top 3, the zero trap, and the case where the average itself is the wrong number to use.

Quick takeaway: add them up, divide by how many.

  • =AVERAGE(B2:B8) — the average of the numbers in B2:B8.
  • A zero counts. A blank cell does not.
  • No numbers at all gives #DIV/0!.
  • To ignore zeros, use =AVERAGEIF(B2:B8,"<>0").
Average Formula in Excel — How to Use AVERAGE (With Examples)

The Formula — AVERAGE

=AVERAGE(number1, [number2], ...)
  • number1 is required: the first number, cell reference or range.
  • number2 and beyond are optional — up to 255 arguments in one formula.
  • You can mix them: numbers, cell references, ranges and even other functions in the same formula.

The simplest case, typed numbers:

=AVERAGE(4, 6, 8, 10, 12)

Result: 8. (4 + 6 + 8 + 10 + 12) = 40, divided by 5 = 8.

Worked Example — Average a Column of Scores

Five students, five test scores:

AB
StudentScore
Ali78
Sara85
Omar92
Hina64
Bilal88

In B7, type:

=AVERAGE(B2:B6)

Result: 81.4. The total is 407, divided by 5 = 81.4. The same formula works on a whole column (=AVERAGE(B:B)), a whole row (=AVERAGE(2:2)), non-adjacent cells (=AVERAGE(B2, B4, B6)), or several ranges at once (=AVERAGE(B2:B6, D2:D6)). Copy it down with the fill handle to average each row in turn — the full guide is how to copy a formula.

The Zero Trap — A Zero Counts, a Blank Does Not

This is the mistake that ruins class averages. Four values: 0, 10, 20, 30.

=AVERAGE(B2:B5)

Result: 15. The zero is counted: (0 + 10 + 20 + 30) / 4 = 60 / 4 = 15. Now delete the zero and leave the cell blank instead. Same formula, same range — result: 20. The blank is ignored: (10 + 20 + 30) / 3 = 60 / 3 = 20.

So a student who scored 0 and a student who has not taken the exam yet are different, and Excel treats them differently: the 0 drags the average down, the blank leaves it alone. If a zero in your data means “not taken” or “not applicable”, it should be a blank cell, not a 0. If it means a real score of zero, keep the 0.

Average Without Zeros — AVERAGEIF

Sometimes the zeros are real values in the sheet, but you want the average of the rest. That is AVERAGEIF:

=AVERAGEIF(B2:B5, "<>0")

On 0, 10, 20, 30 the result is 20 — the zero is skipped. The “<>0” means “not equal to zero”. AVERAGEIF is also the function for averaging with any single condition — for example, the average score of one class, or the average sale above a threshold. For several conditions at once, use AVERAGEIFS.

Average Percentages and Times — The Same Formula

Percentages and times average with the same formula, because they are numbers underneath:

JobFormulaAnswer
Percentages 80%, 90%, 75%, 85%=AVERAGE(B2:B5)82.5%
Times 1:30, 2:00, 1:45=AVERAGE(B2:B4)1:45

The times add to 315 minutes (90 + 120 + 105), divided by 3 = 105 minutes, which is 1:45. Format the result cell as a time (h:mm) or a percentage, or Excel shows a decimal. The full guide to percentages is the percentage formula topic page.

Average the Top 3 — AVERAGE With LARGE

To average only the best scores, combine AVERAGE with LARGE. Five scores: 95, 88, 76, 92, 84.

=AVERAGE(LARGE(B2:B6, {1,2,3}))

Result: 91.67. LARGE picks the top 3 — 95, 92, 88 — and AVERAGE averages them: (95 + 92 + 88) / 3 = 275 / 3 = 91.67. Swap LARGE for SMALL to average the lowest 3 instead. This is the pattern for “best of” rules, drop-the-lowest marking, and top-performer reports.

When the Average Lies — The Outlier

The average is the centre, and the centre can mislead. Five salaries: 30,000, 32,000, 31,000, 29,000, 200,000. The average is 64,400 — a number no one in the group earns. One very large value pulls the whole average up. The middle value (the median) is 31,000, which describes the group far better. Whenever your data has an outlier — one value far from the rest — check the median alongside the average, and report the one that describes the group. The spread around the average is the standard deviation formula, which is the next guide in this silo.

Common Mistakes

MistakeWhat happensFix
You used 0 for “not taken”The average drops — 15 instead of 20Leave the cell blank, or use =AVERAGEIF(range,"<>0")
You averaged a range with no numbers#DIV/0! — there is nothing to divide byCheck the range holds numbers, not text or blanks
You included text in the rangeText is ignored — the average uses only the numbersThat is usually fine, but check the count is what you expect
You averaged percentages as decimalsThe answer looks like 0.825 instead of 82.5%Format the result as a percentage
You averaged times and got a decimalThe answer is in days, not hoursFormat the result as a time (h:mm)
You trusted the average with an outlier64,400 describes no one in the groupCheck the median alongside the average
You used AVERAGE where weights matterEvery value counts equally, which is wrong for weighted dataUse the weighted average instead

Frequently Asked Questions

What is the average formula in Excel? =AVERAGE(range). For example, =AVERAGE(B2:B8) gives the average of the numbers in B2:B8. You can also type the numbers: =AVERAGE(4,6,8,10,12) gives 8.

How do I calculate the average of a column in Excel? =AVERAGE(B:B) averages the whole column, or =AVERAGE(B2:B6) averages a range. Empty cells are ignored, so the formula works even with gaps.

How do I average in Excel without zeros? Use =AVERAGEIF(B2:B8,"<>0"). The “<>0” means “not equal to zero”, so zeros are skipped. Or leave the zero cells blank — AVERAGE ignores blanks.

Does AVERAGE include zero values? Yes. A zero is a number, so it counts. A blank cell is not a number, so it is ignored. On 0, 10, 20, 30 the average is 15; on a blank, 10, 20, 30 it is 20.

Why does my AVERAGE formula say #DIV/0!? The range has no numbers in it — only text, errors or blanks. AVERAGE divides by how many numbers it found, and that is zero. Check the range.

What is the difference between AVERAGE and AVERAGEIF? AVERAGE averages everything in the range. AVERAGEIF averages only the values that meet one condition, such as “<>0” to skip zeros, or “>50” to average only the passing scores.

When should I not use the average? When your data has an outlier — one value far from the rest. The average is pulled toward it. Check the median, and report the one that describes the group.

That is the average formula in Excel: one line, AVERAGE, and the answer is the centre of your numbers. The formula is the easy part — the judgement is in the data: a zero counts and a blank does not, percentages and times average with the same formula, and an outlier can make the average describe no one at all. From here, the next statistics to learn are the spread around the average — the standard deviation formula — and the average when some values count more than others, the weighted average formula. The full learning order for the whole site is on the Excel Formulas hub.


About admin

Author of Excel formula guides on this blog.

View all guides by admin →

Keep Learning

Related guides