Excel tutorial
/

Functions

Intermediate

Excel MODE function: find the most frequent value

MODE finds the number that appears most often in a list. Best-selling size, most common rating, #N/A and ties, MODE.MULT and a mode for text — with examples.

To a shop owner, “the average size is 41.6” is useless — nobody makes size 41.6 shoes. The real question is which size sells most often? That is the one to restock.

MODE returns the number that occurs most often in a list. It is the third “average” in statistics: AVERAGE is the arithmetic mean, MEDIAN the middle value, MODE the most popular value.

You need it whenever values repeat: customer ratings, order quantities, the most common price or size.

Книга1 - Excel
—☐✕
E2fx=МОДА(B2:B8)
ABCDEF
1OrderSizeMeasureValue
2#10141Most popular42
3#10242Times3
4#10340Average41,6
5#10442
6#10543
7#10642
8#10741
9
Готово
Size 42 sold 3 times — that is the mode. The average, 41.6, tells you nothing useful for restocking

Syntax

=МОДА(number1; [number2]; ...) or its modern name =МОДА.ОДН(...) — same result.

  • number1 — a range of numbers or a number.
  • number2, … — more ranges, up to 255.

Rules:

  • Works with numbers only; text, empty cells and TRUE/FALSE are skipped.
  • If no number repeats — #N/A.
  • If several numbers repeat equally often — the one that appears first in the list is returned.
  • To get every mode, use MODE.MULT (see Pro level).

Entering MODE step by step

1

Select E2 and click Формулы → Вставить функцию (Shift + F3).

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Вставить функциюАвтосуммаФинансовыеЛогическиеТекстовыеДата и времяСсылки и массивыМатематические
Библиотека функций
Диспетчер имён
Определённые имена
E2fx
ABCDEF
1OrderSizeMeasureValue
2#10141Most popular
3#10242Times
4
5
Готово

2

Choose the Statistical category and pick MODE.SNGL. The old MODE still works; it lives in the Compatibility category.

Книга1 - Excel
—☐✕
B2fx41
ABCD
1OrderSize
2#10141
3#10242
4
5
Готово

3

Select B2:B8 for Number1 and click OK. Type =СЧЁТЕСЛИ(B2:B8;E2) in E3 to also see how many times the mode occurs.

Книга1 - Excel
—☐✕
B8fx=МОДА(B2:B7)
ABCD
1CustomerRating (1–5)
2Aziz5
3Dilnoza4
4Javohir5
5Malika3
6Sardor5
7Nodira4
8Most common5
9
Готово
Example 1: customers most often gave 5. The average is 4.3, but the most frequent rating is 5
Книга1 - Excel
—☐✕
A2fx12
ABCD
1No repeatsTie
2125
3153
4185
5203
6254
7#N/A5
8
ГотовоСреднее: 5Количество: 2Сумма: 5
Example 2: row 7 holds =МОДА(A2:A6) and =МОДА(B2:B6). No repeats — #N/A. 5 and 3 appear twice each — the first one met, 5, is returned
Книга1 - Excel
—☐✕
B8fx=ИНДЕКС(A2:A7;ПОИСКПОЗ(МАКС(B2:B7);B2:B7;0))
ABCD
1ProductCount
2Bread3
3Milk2
4Bread3
5Yogurt1
6Milk2
7Bread3
8Most frequentBread
9
Готово
Example 3: MODE doesn’t work with text. COUNTIF in a helper column counts how often each name appears, and INDEX+MATCH returns the most frequent one

Pro level: MODE.MULT and conditional modes

  • All modes: =MODE.MULT(B2:B50) returns a column of every equally frequent value. In Excel 365 it spills down by itself; in older versions select several cells and confirm with Ctrl+Shift+Enter.
  • Conditional mode: =МОДА(ЕСЛИ(A2:A50="Tashkent";B2:B50)) — the best-selling size among Tashkent orders only.
  • Mode of weekdays: =МОДА(ДЕНЬНЕД(A2:A50;2)) — which weekday gets the most orders (1 = Monday).
  • Text mode in one formula: =ИНДЕКС(A2:A50;ПОИСКПОЗ(МАКС(СЧЁТЕСЛИ(A2:A50;A2:A50));СЧЁТЕСЛИ(A2:A50;A2:A50);0)) — no helper column (a plain Enter in Excel 365).

Try it in the simulator

Type =МОДА(B2:B8) in E2 and =СЧЁТЕСЛИ(B2:B8;E2) in E3. Then change 40 in B4 to 41: now 41 and 42 each appear three times — which one does MODE show?

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1OrderSizeMeasureValue
2#10141Most popular
3#10242Times
4#10340
5#10442
6#10543
7#10642
8#10741
9
10
11
12
Лист1
Готово

Has ExcelLab been useful?

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

Support us
Previous

126 / 154