MODE.MULT function

Returns a vertical array of the most frequently occurring, or repetitive values in an array or range of data. For horizontal arrays, use TRANSPOSE(MODE.MULT(number1,number2,...)).

This will return more than one result if there are multiple modes. Because this function returns an array of values, it must be entered as an array formula.

Syntax

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

The MODE.MULT function syntax has the following arguments (argument: A value that provides information to an action, an event, a method, a property, a function, or a procedure.):

  • Number1     Required. The first number argument for which you want to calculate the mode.
  • Number2, ...     Optional. Number arguments 2 to 254 for which you want to calculate the mode. You can also use a single array or a reference to an array instead of arguments separated by commas.

Remarks

  • Arguments can either be numbers or names, arrays, or references that contain numbers.
  • If an array or reference argument contains text, logical values, or empty cells, those values are ignored; however, cells with the value zero are included.
  • Arguments that are error values or text that cannot be translated into numbers cause errors.
  • If the data set contains no duplicate data points, MODE.MULT returns the #N/A error value.

Example

The example may be easier to understand if you copy it to a blank worksheet.

ShowHow do I copy an example?

  1. Select the example in this article. If you are copying the example in Excel Online, copy and paste one cell at a time.
    Important: Do not select the row or column headers.

Selecting an example from Help

Selecting an example from Help

  1. Press CTRL+C.
  2. Create a blank workbook or worksheet.
  3. In the worksheet, select cell A1, and press CTRL+V. If you are working in Excel Online, repeat copying and pasting for each cell in the example.
    Important: For the example to work properly, you must paste it into cell A1 of the worksheet.
  4. To switch between viewing the results and viewing the formulas that return the results, press CTRL+` (grave accent), or on the Formulas tab, in the Formula Auditing group, click the Show Formulas button.

After you copy the example to a blank worksheet, you can adapt it to suit your needs.

 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
A B
1
2
3
4
3
2
1
2
3
5
6
1
Formula Description (Result)
=MODE.MULT(A1:A12) Multiple modes of most frequently occurring numbers above (1, 2, 3)

 Note   The formula =MODE.MULT(A1:A12) in the example must be entered in the Excel desktop application as an array formula. After pasting the example data, select the range A14:A16 on the worksheet. In the formula bar, starting with the formula cell (A12), select A1:A12, and then press CTRL+SHIFT+ENTER. When entered as an array, the above example will return 1, 2, 3 as the modes. If the formula is not entered as an array formula, the single result is 1. This would be the same as using the MODE.SNGL function.

 
 
Applies to:
Excel 2010, Excel Web App