MODE Function in Excel

This guide treats “mode function in excel” the way busy spreadsheet users actually want it: answer first, a live tool to prove it on your own data, then the reasoning. It is written for Excel but calls out every place Google Sheets differs, and the platform toggle at the top switches all shortcuts between Windows and Mac so nothing here assumes the keyboard you are not on.

Exact answer

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

Syntax

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

Arguments

ArgumentDescription
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
ƒxAverage, Median & ModeLive

n = 7 · Sum = 103.00 · Min = 9.00 · Max = 21.00

Average (mean)
14.71

7 values

Median
15.00
Mode
15.00
=AVERAGE(A1:A7) · =MEDIAN() · =MODE.SNGL()
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

Need it as an auditable file?

Ships inside the linked template — formula-driven, unlocked, audit-ready.

View template

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. A practical tip before you scale it up: build it once on a small block of test data, confirm the number against the tool on this page, and only then point it at your real sheet. That one habit catches almost every mistake while it is still cheap to fix, long before a wrong figure reaches a report or a colleague.

In Google Sheets

Google Sheets handles this almost identically to Excel. The formula syntax above is the same, and the menu lives under a slightly different label rather than a ribbon tab. Use the platform toggle at the top of the page to switch every keyboard shortcut between Windows and Mac, and expect at most cosmetic differences in naming. 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, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. Treat “mode function in excel” as a small building block rather than a chore. Once the inputs sit in their own cells and the formula reads from them, the same setup answers a dozen related questions with a tweak, and Excel keeps every dependent figure current as the data changes. The tool above is there so you can rehearse and verify before committing anything to a real workbook; the steps and worked example are there so the logic sticks. Get it right once and it stops costing you time — it starts saving it, every time the question comes back around.

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.

Other ways people ask this

This guide also answers

  • excel mode formula