The AVERAGE guide
Find the average of a list with one formula, and learn the detail that trips people up: blank cells and zeros are not the same thing.
What AVERAGE does
AVERAGE adds up the numbers you give it and divides by how many there are. =AVERAGE(B2:B6) on five test scores gives the class average, and it keeps working if you add a sixth score inside the range.
Syntax
=AVERAGE(number1, [number2], …)
Why not just SUM and divide?
=SUM(B2:B6)/5 gives the same answer today, but the 5 is typed in by hand. Add a student and the formula is quietly wrong. AVERAGE counts the values for you, so the division always matches the data.
Blanks vs zeros
AVERAGE skips empty cells and text, but it does count zeros. If a student hasn't taken the test yet, leave the cell blank, not 0, or they will drag the average down. If you need to average only some rows, look at AVERAGEIF.
When a blank should count as zero
The other way round catches people too. Ana scored 85, 90 and 75 and skipped the third of four tests, and the rule says a skipped test counts as 0. =AVERAGE(B3:E3) skips the empty cell and divides 250 by 3, so she shows 83.3 and passes a pass mark of 70. Counted as zero it's 250 divided by 4: 62.5, a fail. Type the 0 into the cell, or divide by the number of tests yourself with =SUM(B3:E3)/COLUMNS(B3:E3).
Common mistakes
- #DIV/0! means AVERAGE found no numbers at all, often because the range points at the wrong column.
- Including the header. Text headers are ignored, so this is harmless, but including the total row is not: it gets averaged in too.
- Missing brackets.
=B2+B3+B4+B5+B6/5divides only B6 by 5, because Excel divides before it adds. Write=(B2+B3+B4+B5+B6)/5, or just use AVERAGE. - Too many decimals. Wrap it as
=ROUND(AVERAGE(B2:B6), 1)when you need a tidy number.
FAQ
- How do I calculate an average in Excel?
- Use =AVERAGE( followed by the range, for example =AVERAGE(B2:B6). Excel adds the numbers and divides by how many there are.
- Does Excel AVERAGE include blank cells?
- No. Blank cells and text are skipped. Cells containing 0 are included and lower the average.
- How do I make AVERAGE count a blank cell as zero?
- Type 0 into the cell, or use =SUM(range)/COLUMNS(range) (or /ROWS for a column) so the division counts every cell. =AVERAGE(B3:E3) with one blank divides by 3, not 4.
- Why is my average wrong?
- Check three things: =SUM(...)/n divided by the wrong count, a range that misses a row, and additions without brackets, which divide only the last number. =AVERAGE(B2:B6) avoids all three.
This task is in the timed basic Excel practice test. What Excel interview tests check








































































