Category: FUNCTION | Updated: 2026-11-22

How to Use the MODE Function | Find the Most Frequently Occurring Value

How to Use the MODE Function

The MODE function returns the most frequently occurring number (the mode) in a dataset. It is useful for analyzing survey results or finding the most popular product size or price tier.

Syntax

=MODE(value1, [value2, ...])
  • value1: The first number or cell range for which to find the mode (required).
  • value2, …: Additional numbers or cell ranges (optional).

Example Table

An example of finding the best-selling shoe size (mode) from sales data.

Buyer Size Metric Formula Result
Customer 1 26.0 Mode =MODE(B2:B7) 26.5
Customer 2 26.5
Customer 3 27.0
Customer 4 26.5
Customer 5 25.5
Customer 6 26.5

Note: Because 26.5 appears 3 times (more than any other value), 26.5 is returned.

Common Errors and Caveats

  • #N/A error: Occurs when there are no duplicate values in the data, so no mode can be determined.
  • Text is not supported: MODE only evaluates numbers. To find the most frequent text value, combine functions like QUERY or COUNTIF.
  • Compatibility: While the more explicit MODE.SNGL function is now available, MODE continues to be supported.

Frequently Asked Questions

Q. What does MODE return if multiple numbers tie for the highest frequency?

A. It returns whichever value appears first in the specified range. If you want to retrieve all tied modes, use the MODE.MULT function.

Q. What happens with MODE if there are no duplicate numbers?

A. If every number appears only once, MODE returns a #N/A error.