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.
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Order | Size | Measure | Value | ||
| 2 | #101 | 41 | Most popular | 42 | ||
| 3 | #102 | 42 | Times | 3 | ||
| 4 | #103 | 40 | Average | 41,6 | ||
| 5 | #104 | 42 | ||||
| 6 | #105 | 43 | ||||
| 7 | #106 | 42 | ||||
| 8 | #107 | 41 | ||||
| 9 |
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).
| A | B | C | D | E | F | |
|---|---|---|---|---|---|---|
| 1 | Order | Size | Measure | Value | ||
| 2 | #101 | 41 | Most popular | |||
| 3 | #102 | 42 | Times | |||
| 4 | ||||||
| 5 |
2
Choose the Statistical category and pick MODE.SNGL. The old MODE still works; it lives in the Compatibility category.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Order | Size | ||
| 2 | #101 | 41 | ||
| 3 | #102 | 42 | ||
| 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.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Customer | Rating (1–5) | ||
| 2 | Aziz | 5 | ||
| 3 | Dilnoza | 4 | ||
| 4 | Javohir | 5 | ||
| 5 | Malika | 3 | ||
| 6 | Sardor | 5 | ||
| 7 | Nodira | 4 | ||
| 8 | Most common | 5 | ||
| 9 |
| A | B | C | D | |
|---|---|---|---|---|
| 1 | No repeats | Tie | ||
| 2 | 12 | 5 | ||
| 3 | 15 | 3 | ||
| 4 | 18 | 5 | ||
| 5 | 20 | 3 | ||
| 6 | 25 | 4 | ||
| 7 | #N/A | 5 | ||
| 8 |
=МОДА(A2:A6) and =МОДА(B2:B6). No repeats — #N/A. 5 and 3 appear twice each — the first one met, 5, is returned| A | B | C | D | |
|---|---|---|---|---|
| 1 | Product | Count | ||
| 2 | Bread | 3 | ||
| 3 | Milk | 2 | ||
| 4 | Bread | 3 | ||
| 5 | Yogurt | 1 | ||
| 6 | Milk | 2 | ||
| 7 | Bread | 3 | ||
| 8 | Most frequent | Bread | ||
| 9 |
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?
| 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 | Order | Size | Measure | Value | ||||||||||||||||||||
| 2 | #101 | 41 | Most popular | |||||||||||||||||||||
| 3 | #102 | 42 | Times | |||||||||||||||||||||
| 4 | #103 | 40 | ||||||||||||||||||||||
| 5 | #104 | 42 | ||||||||||||||||||||||
| 6 | #105 | 43 | ||||||||||||||||||||||
| 7 | #106 | 42 | ||||||||||||||||||||||
| 8 | #107 | 41 | ||||||||||||||||||||||
| 9 | ||||||||||||||||||||||||
| 10 | ||||||||||||||||||||||||
| 11 | ||||||||||||||||||||||||
| 12 |
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.