Excel tutorial
/

Functions

Beginner

Excel COUNT function: counting cells with numbers, with examples

COUNT counts only numbers and dates: who took the test, days with sales, and how to spot numbers stored as text together with COUNTA — examples and traps.

COUNT doesn’t add numbers — it counts how many cells in a range contain a number. For example: how many students took the test and got a score, on how many days of the month there were sales, how many orders have a delivery date.

The key rule: COUNT sees only numbers. Names, text like “absent”, empty cells and TRUE/FALSE are not counted. Dates and times are numbers to Excel, so they are counted.

Книга1 - Excel
—☐✕
B8fx=СЧЁТ(B2:B7)
ABCD
1StudentScore
2Aziz85
3Dilnoza92
4Javohirabsent
5Malika74
6Sardor
7Nodira68
8Took test4
9
Готово
=СЧЁТ(B2:B7) = 4: “absent” (text) and the empty B6 are not counted — only cells with a score

Syntax

=СЧЁТ(value1; [value2]; ...)

  • value1 — required: a cell, a range or a value.
  • value2, ... — optional: up to 254 more ranges or values, separated by commas.

Counted: numbers, dates, times, formulas that return a number, including 0.
Not counted: text (including number-like text such as “15000”), empty cells, TRUE/FALSE, errors (#N/A, #DIV/0!).

A subtle point: values typed straight into the arguments follow a different rule — =СЧЁТ(5;"7";ИСТИНА) returns 3. Inside a range, the text “7” and TRUE are not counted.

Example

AB
1DaySales
2Monday1200000
3Tuesdayday off
4Wednesday950000
5Thursday1430000

Formula:

=COUNT(B2:B5)

→ result: 3 — days with sales (“day off” is not counted)

Entering COUNT

1

Select the result cell (B8). On the Главная tab click the small arrow next to Автосумма and choose Count Numbers.

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

2

Excel inserts =СЧЁТ(B2:B7) and shows the range with a moving border. If it’s right, press Enter. If not, select the correct cells with the mouse.

Книга1 - Excel
—☐✕
B8fx=СЧЁТ(B2:B7)
ABCD
1StudentScore
2Aziz85
3Dilnoza92
4Javohirabsent
5Malika74
6Sardor
7Nodira68
8Took test42
9
ГотовоСреднее: 79,75Количество: 5Сумма: 319

3

Or type it: =СЧЁТ(, select the range and press Enter. The Автосумма menu on the Формулы tab has the same Count Numbers item.

4

Check without a formula: select the cells and look at the status bar. By default it shows Count — that counts all non-empty cells (like COUNTA). Right-click the status bar and turn on Numerical Count to see the COUNT result too.

Книга1 - Excel
—☐✕
C7fx=СЧЁТ(C2:C6)
ABCD
1OrderCustomerDelivered
2O-101Aziz01.01.2026
3O-102Dilnozapending
4O-103Javohir03.01.2026
5O-104Malika04.01.2026
6O-105Sardorpending
7Delivered3
8
Готово
Example 1: a date is a number, so COUNT counts delivered orders: 3, “pending” is not counted
Книга1 - Excel
—☐✕
B9fx=СЧЁТЗ(B2:B6)-СЧЁТ(B2:B6)
ABCD
1ProductPrice (imported)
2Tea18000
3Coffee65000
4Sugar14000
5Rice22000
6Oil31000
7All filled5
8Numbers3
9Text numbers23
10
Готово
Example 2: COUNTA is 5, COUNT is 3 — a difference of 2. Two prices came in as text, and SUM won’t add them
Книга1 - Excel
—☐✕
C6fx=СЧЁТ(C2:C5)/ЧСТРОК(C2:C5)
ABCDEF
1StudentHW 1HW 2HW 3Submitted
2Aziz98103
3Dilnoza10no92
4Javohir71
5Malika8903
6Share75%50%100%
7
Готово
Example 3: per row — how many assignments each student handed in; at the bottom — the share who handed in each one, COUNT/ROWS. Note: Malika’s 0 is a number too, so it is counted

Pro level: COUNT with other functions

  • Guard against #DIV/0!: =ЕСЛИ(СЧЁТ(B2:B7)=0;"No data";СРЗНАЧ(B2:B7)) — until a score is entered, you get a clear message instead of an error.
  • Is the row complete? =ЕСЛИ(СЧЁТ(B2:D2)=3;"Ready";"Missing") checks that all three months are filled in a report.
  • Counting with a condition: questions like “score of 80 or more” are answered by =СЧЁТЕСЛИ(B2:B7;">=80"); for several conditions use COUNTIFS.
  • After filtering: COUNT includes hidden rows. To count only visible ones use =ПРОМЕЖУТОЧНЫЕ.ИТОГИ(2;B2:B100).
  • Is one cell a number? COUNT is for ranges; for a single cell =ЕЧИСЛО(B2) is handier — it returns TRUE/FALSE.
Книга1 - Excel
—☐✕
E3fx=ЕСЛИ(СЧЁТ(B3:D3)=3;"Ready";"Missing")
ABCDEF
1BranchJanuaryFebruaryMarchStatus
2Tashkent12 000 00014 500 00015 100 000Ready
3Samarkand8 300 0009 100 000Missing
4Bukhara6 100 0006 400 000pendingMissing
5Andijan5 200 0005 600 0005 900 000Ready
6
Готово
IF + COUNT: Samarkand has an empty February, Bukhara’s March is still text — both show “Missing”

Try it in the simulator

Type =СЧЁТ(B2:B7) in B8 (result 4), then =СЧЁТЗ(B2:B7) in B9 (result 5). Where does the difference come from? “absent” in B4 is text: COUNT skips it, COUNTA counts it.

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1StudentScore
2Aziz85
3Dilnoza92
4Javohirabsent
5Malika74
6Sardor
7Nodira68
8COUNT
9COUNTA
10
11
12
13
Лист1
Готово

Has ExcelLab been useful?

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

Support us
Previous

72 / 154