MODE Function in Excel

If you just need to mode function in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: use =MODE.SNGL(range) — it returns the most frequently occurring number, and #N/A when no value repeats at all.

On this page8

Syntax

=MODE.SNGL(number1, [number2], ...)

Arguments

Argumentrequired / optionalDescription
number1requiredThe first number or range to find the most frequent value in.
number2, ...optionalFurther values or ranges. Text and blanks are ignored.

Related functions

MEDIANAVERAGECOUNTIF
▤Annotated stepsExcel
1

Select the result cell and type =MODE.SNGL(.

2

Select the range of numbers and press Enter.

3

If you suspect a tie, use =MODE.MULT in a cell with empty space beneath it so the results can spill.

4

For text values, use the COUNTIF-and-MATCH pattern instead — MODE handles numbers only.

Ctrl+CthenCtrl+Shift+V⌘+Cthen⌘+Ctrl+VPaste values · WindowsMac

What this does

MODE returns the value that appears most often. Modern Excel splits it in two: MODE.SNGL returns a single value and MODE.MULT spills every value tied for most frequent, which matters because ties are common in small datasets and MODE.SNGL silently reports only the first. The legacy MODE still works and behaves like MODE.SNGL. Crucially it only handles numbers — the most common text value needs INDEX with MATCH over a MAX of COUNTIF, not MODE. When nothing repeats it returns #N/A, which is information rather than failure. Most people learn this as a sequence of clicks and forget it by next week; learning it as a pattern instead is what lets you apply it to the next, slightly different version of the problem without starting from scratch. That is the difference this page is trying to make. For “mode function in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected formula change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a calculation you can defend to a CFO or an auditor useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

Order quantities in B2:B300: =MODE.SNGL(B2:B300) returns the quantity customers pick most often. If several quantities tie, =MODE.MULT(B2:B300) spills all of them. For the most common region name in a text column, use =INDEX(A2:A300, MATCH(MAX(COUNTIF(A2:A300, A2:A300)), COUNTIF(A2:A300, A2:A300), 0)) instead. MODE answers "what is the typical choice" rather than "what is the typical amount", which is the right question for sizes, quantities and ratings. Check the referenced cells, argument order and result type in your workbook. Start with the worked example before changing an input, then compare the changed result with the calculation you expected. An error value or a result of a different type is a reason to inspect the inputs and arguments.

In Google Sheets

Google Sheets support for this task has not been verified. Check the function, arguments and workflow in the target product before transferring the example. Matching formula notation does not establish identical behaviour. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. For “mode function in excel”, keep the input cells and the result visible while you check the formula in Excel. Follow the worked example and change one input at a time. The steps explain the workbook calculation; this page does not run a live calculator for that task.

Common mistakes

  • Using MODE.SNGL on data with ties and not realising other values were equally frequent.
  • Pointing MODE at a text column, which returns #N/A regardless of how often a word repeats.
  • Treating #N/A as an error when it correctly means "nothing repeats in this data".

Frequently asked questions

Why does MODE return #N/A?

No value occurs more than once. That is the correct answer for data with no repeats, not a fault.

What is the difference between MODE.SNGL and MODE.MULT?

MODE.SNGL returns one value even when several tie. MODE.MULT spills every tied value, so you can see the tie.

How do I find the most common text value?

MODE only works on numbers. Combine COUNTIF with MATCH and INDEX, or build a quick PivotTable and sort by count.