Skip to main content

Excel MODE Function

The MODE function returns the most frequently occurring number in a set of numbers.

mode function 1


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


  • Number1 (required): The first number, cell reference, or range.
  • Number2, ... (optional): The subsequent numbers, cell references, or ranges.

Return value

The MODE function returns a numeric value.

Function notes

  1. Arguments in the MODE function can be supplied as numbers or names, arrays, or references that contain numbers. Up to 255 arguments are allowed.
  2. MODE function ignores empty cells or cells that contain text or Logical values.
  3. Cells with value zero will be included in the calculation.
  4. The #N/A error occurs if the data set contains no repetitive numbers.
  5. The #VALUE! error value occurs if any of the supplied arguments you typed directly in the function are non-numeric, or all the supplied arguments as ranges or cell references are text.
  6. MODE function is available for compatibility with Excel 2007 and earlier. In Excel 2010, the MODE.SNGL function replaced the MODE function. Although it’s been replaced, the MODE function is still available for backward compatibility in the newer versions of Excel. But we’re recommended to use the MODE.SNGL function in case the MODE function is not available in the future versions of Excel.

    mode function 2


To calculate the most frequently occurring number from the numbers provided in the below table, please copy the formula below into cell E5 and press the Enter key to get the result.

=MODE (C5:C10)

mode function 3


  1. The argument in the above formula is supplied as a range that contains multiple values.
  2. We can directly input values in the arguments of the formula. The formula above can be changed to:

    =MODE (80, 60, 70, 80, 60, 90)

  3. We can also use cell references as arguments of the formula. The formula above can be changed to:

    =MODE (C5, C6, C7, C8, C9, C10)

  4. As the updated version of the MODE function, the MODE.SNGL function will return the same result if used.
  5. Unlike the MODE.MULT function, the MODE function and the MODE.SNGL function return only one single number even though multiple numbers of the same mostly occurring frequency exist. And these two functions only return the first number of those multiple numbers. In the formula above, number 80 and number 60 both occur two times in the data set, but only number 80 is returned because it is the first of the two numbers to appear in the range.

Relative Functions:

  • Excel DEVSQ Function
    The DEVSQ function calculates the sum of squares of the deviations from the sample mean.

  • Excel DSTDEV Function
    The DSTDEV function returns the estimated value of the standard deviation of a population based on a sample.

  • Excel DSTDEVP Function
    The Excel DSTDEVP function returns the standard deviation of a population by using the numbers from the entire database that match the given criteria you specify.

The Best Office Productivity Tools

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations