
π This article includes 1 downloadable practice file β
In this article
AVERAGE returns the arithmetic mean: the sum divided by the count of numbers. Empty cells and text are ignored, but zeros are counted.
Syntax
=AVERAGE(number1, [number2], ...)
| Argument | What it means |
|---|---|
number1 |
Numbers, cells or ranges to average. |
Examples
Example 1
=AVERAGE(C2:C31)
Average daily sales for the month.
Example 2
=ROUND(AVERAGE(C2:C31), 0)
Rounded to a whole number for reports.
Power combo
=AVERAGEIF(C2:C31, ">0")
Average ignoring zero days (holidays), which AVERAGE would count.
Common errors and fixes
| You see | Why, and the fix |
|---|---|
#DIV/0! |
No numbers in the range. Wrap it: =IFERROR(AVERAGE(C2:C31), 0). |
Average too low |
Zeros are included. Use AVERAGEIF(range, “<>0″) to exclude them. |
AVERAGE in practice
Where you will use it
- Average daily sales for the month
- Average marks in a class
- Average order value per customer group
Worked example
Running average of sales; the blank Wednesday is skipped, not treated as zero.
| Day | Sales | Formula | Result |
|---|---|---|---|
| Mon | 18500 | =AVERAGE($B$2:B2) | 18500 |
| Tue | 22100 | =AVERAGE($B$2:B3) | 20300 |
| Wed | (blank) | =AVERAGE($B$2:B4) | 20300 |
| Thu | 19800 | =AVERAGE($B$2:B5) | 20133.33 |
Results calculated in Excel.
Mistakes people make
| Mistake | What to do instead |
|---|---|
| Zeros typed for missing days | Leave missing days blank; zeros pull the average down |
| Averaging percentages from groups of different sizes | Use total / total count (weighted), not the average of averages |
Related functions
AVERAGEIFS Β· MEDIAN Β· SUM Β· COUNT
π Part of the free Excel course: Beginner β Expert Β· Try it in the Formula Lab or ask the AI Helper.
Test formulas dynamically in our web formula laboratory or download the companion Excel workbook.
π Practice files for this article
- πPractice workbook: Statistics basics22 tasks on realistic sales data β type your formula, the Check column turns green when it is right. Answers sheet included.β¬ XLSX Β· 34 KB
Free to use for learning. Files with macros (.bas) are plain text β import them with Alt+F11 β File β Import File, and always test on a copy.
Atul (AJ) builds office-automation and local-first AI tools as Atulya AI, and works with Excel, SAP and Oracle EPM every day. He writes about the shortcuts, macros and automations that actually save time β plus the occasional wacky fact. Videos on YouTube: Lazy Automator AI (@LazyAutomatorAI).
More posts by Atul βBuild this skill next
This page is a quick function reference. Use it for syntax, then practise the function in a broader workflow.
Stuck on a step? Ask a question and the AI answers using this article.