Excel tutorial
/

Functions

Beginner

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.

Книга1 - Excel
—☐✕
B7fx=СРЗНАЧ(B2:B6)
ABCD
1StudentScore
2Aziz85
3Dilnoza92
4Javohir78
5Malika64
6Sardor88
7Average81,4
8
Готово
=СРЗНАЧ(B2:B6) = (85 + 92 + 78 + 64 + 88) / 5 = 81.4

Syntax

=СРЗНАЧ(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

AB
1MonthSales
2January42000000
3February38500000
4March45100000

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.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Вставить
Буфер обмена
Calibri ▾11 ▾
Шрифт
Выравнивание
Общий ▾
Число
Условное форматированиеФорматировать как таблицуСтили ячеек
Стили
ВставитьУдалитьФормат
Ячейки
АвтосуммаСортировка и фильтрНайти и выделить
Редактирование
B7fx
ABCD
1StudentScore
2Aziz85
3Dilnoza92
4Javohir78
5Malika64
6Sardor88
7Average1
8
Готово

2

Excel outlines the numbers above with a moving border. Check the range and press Enter.

Книга1 - Excel
—☐✕
B7fx=СРЗНАЧ(B2:B6)
ABCD
1StudentScore
2Aziz85
3Dilnoza92
4Javohir78
5Malika64
6Sardor88
7Average81,42
8
ГотовоСреднее: 81,4Количество: 5Сумма: 407

3

With the function wizard. Формулы → Вставить функцию (or Shift + F3). Search for “average”, pick AVERAGE and click OK — the next window asks for the range.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Вставить функциюАвтосуммаФинансовыеЛогическиеТекстовыеДата и времяСсылки и массивыМатематические
Библиотека функций
Диспетчер имён
Определённые имена
B7fx
ABCD
1StudentScore
2Aziz85
3Dilnoza92
4Javohir78
5Malika64
6Sardor88
7Average
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.

Книга1 - Excel
—☐✕
C6fx=СРЗНАЧ(C2:C5)
ABCD
1SellerSales (blank)Sales (0)
2Aziz5 000 0005 000 000
3Dilnoza102
4Javohir7 000 0007 000 000
5Malika6 000 0006 000 000
6Average6 000 0004 500 000
7
Готово
Example 1: a blank cell is not counted (18M / 3 = 6,000,000), a zero is (18M / 4 = 4,500,000)
Книга1 - Excel
—☐✕
F2fx=СРЗНАЧЕСЛИ($B$2:$B$6;E2;$C$2:$C$6)
ABCDEFG
1SellerBranchSalesBranchAverage
2AzizTashkent5 200 000Tashkent6 000 000
3DilnozaSamarkand4 100 000Samarkand4 000 000
4JavohirTashkent6 800 000
5MalikaSamarkand3 900 000
6SardorTashkent6 000 000
7
Готово
Example 2: average per branch with AVERAGEIF. Tashkent: 6,000,000, Samarkand: 4,000,000
Книга1 - Excel
—☐✕
C6fx=СУММПРОИЗВ(B2:B4;C2:C4)/СУММ(B2:B4)
ABCD
1BatchQty (kg)Price
2Batch 110012 000
3Batch 230010 000
4Batch 35015 000
5Simple average12 333
6Weighted11 000
7
Готово
Example 3: the true average price per kg is 11,000, not 12,333. The cheap batch is the biggest, so you need a weighted average

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.
Книга1 - Excel
—☐✕
B8fx=МЕДИАНА(B2:B6)
ABCD
1EmployeeSalary
2Aziz4 500 000
3Dilnoza4 800 000
4Javohir5 200 000
5Malika5 000 000
6Director25 000 000
7AVERAGE8 900 000
8MEDIAN5 000 000
9
Готово
“The average salary is 8.9M” — true, yet 4 of 5 people earn under 5.2M. The median (5,000,000) is closer to reality
Книга1 - Excel
—☐✕
B8fx=СРЗНАЧЕСЛИ(B2:B6;"<>0")
ABCD
1DaySales
2Monday3 200 000
3Tuesday0
4Wednesday2 800 000
5Thursday3 600 000
6Friday0
7AVERAGE1 920 000
8Without zeros3 200 000
9
Готово
The shop was closed on Tuesday and Friday. The average per working day is 3,200,000, not 1,920,000

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.

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1StudentTest 1Test 2Test 3Average
2Aziz809070
3Dilnoza958892
4Javohir607584
5Malika1009497
6Average
7
8
9
10
Лист1
Готово

Has ExcelLab been useful?

Support the project and help us release new lessons and exercises.

Support us
Previous

69 / 154