Excel AVERAGE function: how to calculate an average correctly
Find average scores, prices and sales with AVERAGE in Excel: blank cells vs zeros, averaging without zeros, weighted average and MEDIAN — with examples.
AVERAGE returns the arithmetic mean: it adds the numbers and divides by how many there are. Students’ average score, a shop’s average receipt, average monthly sales — all of these are calculated with this function.
The key rule: AVERAGE only counts cells that contain a number. Blank cells and text are skipped, but zero is counted. This single difference can change the average in a report completely — more on that below.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Student | Score | ||
| 2 | Aziz | 85 | ||
| 3 | Dilnoza | 92 | ||
| 4 | Javohir | 78 | ||
| 5 | Malika | 64 | ||
| 6 | Sardor | 88 | ||
| 7 | Average | 81,4 | ||
| 8 |
=СРЗНАЧ(B2:B6) = (85 + 92 + 78 + 64 + 88) / 5 = 81.4Syntax
=СРЗНАЧ(number1; [number2]; ...)
- number1 — required: a number, a cell or a range (
B2:B6). - number2, ... — optional: up to 254 more numbers, cells or ranges, separated by commas.
In practice it equals =СУММ(B2:B6)/СЧЁТ(B2:B6). Blank cells, text and TRUE/FALSE in a range are skipped; zeros are included. If the range has no numbers at all, you get #DIV/0!.
Example
Formula:
=AVERAGE(B2:B4)→ result: 41,866,667 — average monthly sales for the quarter (rounded)
Entering AVERAGE
1
Select the empty cell below the column (B7). On the Главная tab click the small arrow next to Автосумма and choose Average.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Student | Score | ||
| 2 | Aziz | 85 | ||
| 3 | Dilnoza | 92 | ||
| 4 | Javohir | 78 | ||
| 5 | Malika | 64 | ||
| 6 | Sardor | 88 | ||
| 7 | Average | 1 | ||
| 8 |
2
Excel outlines the numbers above with a moving border. Check the range and press Enter.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Student | Score | ||
| 2 | Aziz | 85 | ||
| 3 | Dilnoza | 92 | ||
| 4 | Javohir | 78 | ||
| 5 | Malika | 64 | ||
| 6 | Sardor | 88 | ||
| 7 | Average | 81,42 | ||
| 8 |
3
With the function wizard. Формулы → Вставить функцию (or Shift + F3). Search for “average”, pick AVERAGE and click OK — the next window asks for the range.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Student | Score | ||
| 2 | Aziz | 85 | ||
| 3 | Dilnoza | 92 | ||
| 4 | Javohir | 78 | ||
| 5 | Malika | 64 | ||
| 6 | Sardor | 88 | ||
| 7 | Average | |||
| 8 |
4
By typing. Start typing =AV — AVERAGE appears in the list; press Tab and the name and bracket are filled in. Then select the range and press Enter.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Seller | Sales (blank) | Sales (0) | |
| 2 | Aziz | 5 000 000 | 5 000 000 | |
| 3 | Dilnoza | 1 | 02 | |
| 4 | Javohir | 7 000 000 | 7 000 000 | |
| 5 | Malika | 6 000 000 | 6 000 000 | |
| 6 | Average | 6 000 000 | 4 500 000 | |
| 7 |
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Seller | Branch | Sales | Branch | Average | ||
| 2 | Aziz | Tashkent | 5 200 000 | Tashkent | 6 000 000 | ||
| 3 | Dilnoza | Samarkand | 4 100 000 | Samarkand | 4 000 000 | ||
| 4 | Javohir | Tashkent | 6 800 000 | ||||
| 5 | Malika | Samarkand | 3 900 000 | ||||
| 6 | Sardor | Tashkent | 6 000 000 | ||||
| 7 |
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Batch | Qty (kg) | Price | |
| 2 | Batch 1 | 100 | 12 000 | |
| 3 | Batch 2 | 300 | 10 000 | |
| 4 | Batch 3 | 50 | 15 000 | |
| 5 | Simple average | 12 333 | ||
| 6 | Weighted | 11 000 | ||
| 7 |
Pro level: picking the right average
- Average without zeros:
=СРЗНАЧЕСЛИ(B2:B8;"<>0")— zeros for days the shop was closed don’t pull the average down. - Several conditions:
=СРЗНАЧЕСЛИМН(C2:C100;B2:B100;"Tashkent";D2:D100;">=1000000")— average of Tashkent sales of 1 million or more. - With outliers, use MEDIAN. One huge salary “lifts” the average, while the median shows the middle value and ignores extremes.
- Trim the extremes:
=TRIMMEAN(B2:B20;0,2)drops the top and bottom 20% of values and averages the rest — like judges’ scores in sport. - A clean result:
=ОКРУГЛ(СРЗНАЧ(B2:B6);1)rounds the average to 1 decimal, and later formulas work with that rounded value.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Employee | Salary | ||
| 2 | Aziz | 4 500 000 | ||
| 3 | Dilnoza | 4 800 000 | ||
| 4 | Javohir | 5 200 000 | ||
| 5 | Malika | 5 000 000 | ||
| 6 | Director | 25 000 000 | ||
| 7 | AVERAGE | 8 900 000 | ||
| 8 | MEDIAN | 5 000 000 | ||
| 9 |
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Day | Sales | ||
| 2 | Monday | 3 200 000 | ||
| 3 | Tuesday | 0 | ||
| 4 | Wednesday | 2 800 000 | ||
| 5 | Thursday | 3 600 000 | ||
| 6 | Friday | 0 | ||
| 7 | AVERAGE | 1 920 000 | ||
| 8 | Without zeros | 3 200 000 | ||
| 9 |
Try it in the simulator
Type =СРЗНАЧ(B2:D2) in E2 and fill it down to E5 — you get each student’s average. Then type =СРЗНАЧ(B2:B5) in B6 and fill it right to D6. Check: E2 = 80, B6 = 83.75.
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Student | Test 1 | Test 2 | Test 3 | Average | |||||||||||||||||||
| 2 | Aziz | 80 | 90 | 70 | ||||||||||||||||||||
| 3 | Dilnoza | 95 | 88 | 92 | ||||||||||||||||||||
| 4 | Javohir | 60 | 75 | 84 | ||||||||||||||||||||
| 5 | Malika | 100 | 94 | 97 | ||||||||||||||||||||
| 6 | Average | |||||||||||||||||||||||
| 7 | ||||||||||||||||||||||||
| 8 | ||||||||||||||||||||||||
| 9 | ||||||||||||||||||||||||
| 10 |
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.