PDF download Download Article PDF download Download Article

In statistics, “mode” refers to the number that appears most frequently in a set of numbers. When you’re dealing with large sets of data, using a program like Excel can make it much easier to calculate mode . In this article, we’ll talk you through the best way to calculate mode in Excel using the MODE function.

Method 1
Method 1 of 2:

Single Mode Function

PDF download Download Article
  1. If you’re looking for a single number that occurs most frequently in a group of numbers, use the MODE.SNGL function. [1] For consistency, it helps to enter the number in consecutive cells in either a row or column, and for readability, a column is usually better.
    • MODE.SNGL will only display one mode for a group of numbers. If your data has more than one mode (that is, multiple numbers that occur with equal frequency), this function will pick the first one in the set and ignore the others.
  2. The MODE function's format is =MODE.SNGL(Cx:Dy) , where C and D represent the letters of the columns of the first and last cell in the range, and x and y represent the numbers of the first and last row in the range. If all your data is in a single column, the 2 column letters will be the same (e.g., A1:A7). [2]
    • If you’re using a version of Excel older than 2010, write =MODE(Cx:Dy) without the .SNGL suffix. This will also work in the most recent versions of Excel. Either method will only return one mode result, even if there are multiple modes in the data set.
    • You can also specify each cell individually, up to 255 cells, as in =MODE.SNGL(A1, A2, A3) , but this can get cumbersome if you have a big dataset. You can also use the function with constants, for example, =MODE.SNGL(4,4,6) , but this requires editing the function each time you wish to search for a different mode.
    • You may want to format the cell in which the mode will display with bolding or italics to distinguish it from the numbers in the dataset, or put it in a separate column or row from the other numbers.
    Advertisement
  3. This normally happens automatically in Excel , but if you have set up your spreadsheet for manual calculation, you'll need to press the F9 key to display the mode. [3] Otherwise, as soon as you enter the formula and hit Enter , the mode should appear in the cell where you entered the function formula.
    • For a dataset of 10, 7, 9, 8, 7, 0, and 4 entered in cells 1 through 8 of Column A, the function =MODE.SNGL(A1:A8) will deliver a result of 7, because 7 appears more often in the data than any other number.
    • If the data set contains more than one number that qualifies as the mode (such as 7 and 9 each appearing twice and every other number appearing only once), whichever mode number is listed first in the data set will be the result.
    • If none of the numbers in the data set appear more often than any other, the MODE function will display the error result #N/A .
    • The MODE function will ignore any cells in the range that are blank or contain something other than a number.
  4. Advertisement
Method 2
Method 2 of 2:

Multiple Mode Function

PDF download Download Article
  1. The MODE.MULT function is useful if you have a dataset with more than one mode. To use it, first fill out a row or column with all the numbers in the set. [4]
    • The MODE.MULT function is only available in Excel 2010 and later versions.
    • As an example of a data set with more than one mode, imagine that your group of numbers is 8, 7, 5, 7, 1, 3, and 8. 8 and 7 both appear twice in the group, and both are more frequent than any of the other numbers. These would be your modes.
  2. The MODE.MULT function's format is =MODE.MULT(Cx:Dy) , where C and D represent the first and last column letters in the range, and x and y are the row numbers of the first and last cells in the range. Select the cell where you want the first mode in the array to appear and type the formula into the formula bar or directly into the cell. [5]
    • For example, if your range includes the data in A1 through A29, you’d write =MODE.MULT(A1:A29) . You can also type the individual cells or constants in the data set into the formula in place of the range, but this is only practical for very small data sets that you don’t plan to change.
    • By default, this function will return all the modes for the selected range in the form of a vertical array—that is, it will create a column listing all the modes in the selected data range.
    • If you’d rather view the modes as a horizontal array (that is, a row of results instead of a column), rewrite the formula as =TRANSPOSE(MODE.MULT(Cx:Dy)) .
  3. Once you type in the formula and hit Enter or Return on your keyboard, the modes should automatically appear in an array starting with the selected cell. [6] You might want to select a cell away from the rest of the data or use some type of special formatting (such as bold or italics) so you can tell the modes apart from the other numbers on the spreadsheet.
    • If you’ve set the spreadsheet for manual calculations, hit F9 to calculate the modes. Otherwise, the array should update automatically any time you make changes to the data in the selected range.
    • Just like MODE.SNGL, MODE.MULT will ignore any cells that are empty or contain data other than numbers.
    • If there are no modes in the set—that is, if there’s no number that appears more times than any other in the group—you’ll get a result of #N/A .
  4. Advertisement

Community Q&A

Search
Add New Question
  • Question
    I am using Mode for a series of non-consecutive cells in a row. When text or blanks occur, I get a #value error. How do I get rid of it?
    Community Answer
    You can't. You need to choose your data so that there are no empty cells (or use a bit of VBA to exclude empty cells).
Ask a Question
      Advertisement

      Video

      Tips

      • When adding more numbers to a data set, check the formula to be sure that it still accurately represents the first and last numbers in the range of cells. You’ll need to adjust the formula if you add rows before or after the first and last numbers in the original set.
      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Name
      Please provide your name and last initial
      Thanks for submitting a tip for review!
      Advertisement

      Warnings

      • Using the MODE.MULT formula to find a large number of modes at once may slow down your computer if it lacks sufficient processing speed and memory.
      Advertisement

      About This Article

      Thanks to all authors for creating a page that has been read 189,261 times.

      Is this article up to date?

      Advertisement