FormulaCraft

How to find the most common value in Excel and Google Sheets

Topic:AVERAGE & central tendency
Excel & Google Sheets
=MODE(B2:B6)

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1For a numeric range, type =MODE(B2:B6) and press Enter.
  2. 2MODE returns the most frequently occurring number; if all values are unique it returns #N/A.
  3. 3To find the most common text value, use: =INDEX(A2:A6,MATCH(MAX(COUNTIF(A2:A6,A2:A6)),COUNTIF(A2:A6,A2:A6),0)) as an array formula.
  4. 4In Excel 365+, =MODE.MULT returns all modes if there are ties.
  5. 5In Google Sheets, MODE works identically for numbers.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

How do I find the most common text value?

Use =INDEX(A2:A6,MATCH(MAX(COUNTIF(A2:A6,A2:A6)),COUNTIF(A2:A6,A2:A6),0)). In Excel 365, this is entered normally; in older Excel, press Ctrl+Shift+Enter.

What if there are multiple modes (ties)?

MODE/MODE.SNGL returns the first mode encountered. Use MODE.MULT in Excel 365 to get all tied modes.

More on AVERAGE & central tendency

See all →

Formulas used

Related tasks

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: