What value shows up the most? MODE finds the most frequent number; a tiny INDEX/MATCH combo does the same for text — the most common category, response, or label.
The example
Survey ratings — the most common score.
| A | B | |
|---|---|---|
| 1 | Response | Rating |
| 2 | R1 | 4 |
| 3 | R2 | 5 |
| 4 | R3 | 4 |
| 5 | Most frequent | 4 |
The formula
The most frequent number:
How it works
MODE scans for the value with the highest frequency:
MODE(range)returns the single most frequently occurring number in the range.- If several values tie, it returns the first one encountered — not all of them.
- For text, MODE won’t work. Use
=INDEX(range, MATCH(MAX(COUNTIF(range,range)), COUNTIF(range,range), 0))— an array formula that finds the most common label. - In Excel 365, MODE has a modern sibling
MODE.SNGL(single) andMODE.MULT(all tied modes as a spill).
Most common text, the easy way: if you have the dynamic-array functions, =INDEX(SORTBY(UNIQUE(rng), COUNTIF(rng,UNIQUE(rng)), -1), 1) returns the most frequent label without an array entry. Otherwise the COUNTIF/INDEX/MATCH array formula works in every version.
Try it: interactive demo
Enter values (numbers or words), one per line.
Variations
All tied modes (365)
Spills every most-frequent value:
Most frequent text (array)
Ctrl+Shift+Enter in older Excel:
How many times it occurs
Count the mode:
Pitfalls & errors
MODE errors with no repeats. If every value is unique, MODE returns #N/A. Wrap with IFERROR if that’s possible.
Ties pick the first. MODE/MODE.SNGL return only one value even when several tie. Use MODE.MULT to see them all.
Numbers only. MODE ignores text and blanks; for the most common label you need the COUNTIF/INDEX approach.
Practice workbook
Frequently asked questions
How do I find the most frequent value in Excel?
What does MODE return when there's a tie?
Why does MODE give a #N/A error?
Stop fighting formulas. Learn them in a day.
This recipe is one of hundreds of real-world formulas we teach. Our Excel Formulas & Functions class covers lookups, logic, text, and dynamic arrays hands-on — live in Dallas–Fort Worth, Houston, Austin, Oklahoma City, Denver, or online.
See the Formulas & Functions Class