Example 1
Average delivery time
B9 =AVERAGE(B2:B7)
Result: 4
Six orders add up to 24 days, and 24 / 6 is 4.
B9 =AVERAGE(B2:B7) returns 4
Returns the arithmetic mean of the numbers you give it. Blank cells and text are skipped, but zeros count.
Syntax
=AVERAGE(, [number2], ...)
All versions of Excel, including Excel for Microsoft 365 and Excel for the web.
Try it
Edit the formula in B9 or change the inputs. The sheet recalculates as you type.
B9 =AVERAGE(B2:B7) returns 4
AVERAGE adds up the numbers it finds and divides by how many numbers there were. It is the quickest way to answer "what is typical?" for delivery times, order values, scores or monthly sales.
AVERAGE looks at every argument and keeps only the numbers. In a cell or range reference:
"12" stored as text, and notes such as n/a.TRUE counts as 1.#N/A in the range makes the whole result #N/A.If there are no numbers at all, AVERAGE returns #DIV/0!, because it would be dividing by zero. Wrap it in IFERROR when a blank result should read as "No data".
Add more arguments to average cells that are not adjacent. =AVERAGE(B2:B4,D2:D4) pools both ranges and divides by the combined count. That is different from averaging the two averages, which would give the wrong answer if the ranges are different sizes.
The mean is pulled by extreme values. One very large order can drag the average well above what most orders look like. When the data is lopsided, check MEDIAN as well. If some rows should count for more than others, use a weighted average with SUMPRODUCT rather than AVERAGE. To average only the rows that meet a condition, use AVERAGEIF or AVERAGEIFS.
AVERAGEA is the same idea with different rules for text and logicals: text and FALSE in a range count as 0 and TRUE counts as 1. Choose it only when text entries really should behave as zeros. For ordinary numeric data, AVERAGE is the safer choice because it quietly ignores notes and labels.
Format the result to suit the data. AVERAGE returns many decimal places, such as 42.857142857, so use a number format or ROUND for display or reporting.
B2:B9. Point at cells instead of typing numbers so the result follows the data.B2:B4,D2:D4.Each example is a live sheet. Change the inputs or the formula and watch the result.
Example 1
B9 =AVERAGE(B2:B7)
Result: 4
Six orders add up to 24 days, and 24 / 6 is 4.
B9 =AVERAGE(B2:B7) returns 4
Example 2
B9 =AVERAGE(B2:B7)
Result: 9
Tuesday is blank and Wednesday is text, so both are ignored. Thursday's 0 counts: 36 / 4 = 9. If Thursday were blank, the answer would be 12.
B9 =AVERAGE(B2:B7) returns 9
Example 3
B6 =AVERAGE(B2:B4,D2:D4)
Result: 11
The target column in between is left out. All six deal counts add up to 66, and 66 / 6 is 11.
B6 =AVERAGE(B2:B4,D2:D4) returns 11
Example 4
B6 =IFERROR(AVERAGE(B2:B4),"No data")
Result: No data
With no numbers in the range, AVERAGE alone returns #DIV/0!. IFERROR replaces it with a message.
B6 =IFERROR(AVERAGE(B2:B4),"No data") returns No data
Solve it in the sheet. Every answer is checked, with hints if you need them.
Task 1 of 2
In B10, return the average number of calls per day for Team 1.
Answer in B10.
#DIV/0! means the range contained no numbers. Check that the values are real numbers and not text, or wrap the formula in IFERROR.COUNT with COUNTA on the same range to spot them.#N/A, makes the whole result an error. Fix the source cell or use AGGREGATE to ignore errors.No. Zeros are real numbers and are included. To leave them out, use `=AVERAGEIF(B2:B9,"<>0")`.
The range had no numbers in it. It is either empty, all text, or numbers stored as text. Convert the text to numbers, or show a message with `=IFERROR(AVERAGE(B2:B9),"No data")`.
Use AVERAGEIF for one condition, such as `=AVERAGEIF(A2:A9,"East",B2:B9)`, or AVERAGEIFS for several.
AVERAGE is the mean: the total divided by the count. MEDIAN is the middle value once the numbers are sorted. A few extreme values move the mean a lot and the median very little.
Point AVERAGE at the last three cells, such as `=AVERAGE(B7:B9)`. For a range that follows the data automatically, combine it with INDEX or TAKE.
AVERAGE is taught in Excel foundations, lesson 6: AVERAGE, MIN and MAX. Each lesson is a short, graded exercise like the one above.