Skip to content

MODE.MULT

Returns a vertical list of every value that occurs most often in a set of numbers, so ties are not lost.

Syntax

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

Statistical

Excel 2010 and later. In Excel for Microsoft 365 the result spills automatically. In older versions, enter it as an array formula over several cells.

Try it

Edit the formula in C2 or change the inputs. The sheet recalculates as you type.

C2
A
B
C
D
1
Rating
Modes
2
1
2
3
2
3
4
2
5
3
6
3
7
4
8

C2 =MODE.MULT(A2:A7) returns 2; 3

How MODE.MULT works

MODE.MULT returns every value that occurs most often in the data, as a vertical array. If two numbers tie for first place, you get both. =MODE.MULT(A2:A10) on ratings of 3, 4, 4, 5, 3, 2, 4, 3, 5 returns 3 and 4, because each appears three times. MODE.SNGL would return only 3, the first one it meets.

How the result looks

In Excel for Microsoft 365 the formula spills down from the cell you enter it in, with one row per mode. Leave the cells below empty, or Excel shows #SPILL!. In Excel 2019 and earlier, select a column of cells, type the formula and confirm it with Ctrl+Shift+Enter. If you select more cells than there are modes, the extra cells show #N/A.

The arguments

number1, number2, ... are numbers, ranges or arrays. Text, logical values and empty cells inside ranges are ignored. If no value occurs more than once, MODE.MULT returns #N/A, because there is no mode.

Working with the result

Because the answer is an array, wrap it to turn it into a single value:

  • How many modes: =ROWS(MODE.MULT(A2:A10)).
  • A single text line: =TEXTJOIN(", ",TRUE,MODE.MULT(A2:A10)) returns 3, 4.
  • Across instead of down: =TRANSPOSE(MODE.MULT(A2:A10)).
  • The first or last mode: =INDEX(MODE.MULT(A2:A10),1) or =INDEX(MODE.MULT(A2:A10),ROWS(MODE.MULT(A2:A10))).
  • No mode at all: wrap in IFNA, for example =IFNA(TEXTJOIN(", ",TRUE,MODE.MULT(A2:A10)),"No mode").

When to use it

The mode is the answer to "what is the most common value?" It suits whole-number data such as ratings, shoe sizes, order quantities and number of items per basket. For continuous measurements, such as exact weights, nearly every value is unique and a mode is rarely meaningful. Round or bucket the data first.

MODE.MULT, MODE.SNGL and MODE

MODE.SNGL returns one mode, the earliest one in the data, so it silently ignores ties. MODE is the older name of MODE.SNGL. Use MODE.MULT when a tie matters and you need to report it.

Order of results

The modes come back in the order they first appear in the data, not sorted. Wrap the result in SORT if you want ascending order.

Arguments

number1
The first number, cell reference or range to examine.
number2, ...optional
Further numbers, cells or ranges, up to 255 arguments in all.

Examples

Each example is a live sheet. Change the inputs or the formula and watch the result.

Example 1

Two values tie for most common

C2 =MODE.MULT(A2:A7)

Result: 2; 3

Both 2 and 3 appear twice, so the result spills into C2:C3.

C2
A
B
C
D
1
Rating
Modes
2
1
2
3
2
3
4
2
5
3
6
3
7
4
8

C2 =MODE.MULT(A2:A7) returns 2; 3

Example 2

Count how many modes there are

C2 =ROWS(MODE.MULT(A2:A7))

Result: 2

ROWS counts the entries in the spilled result.

C2
A
B
C
D
1
Rating
Number of modes
2
1
2
3
2
4
2
5
3
6
3
7
4
8

C2 =ROWS(MODE.MULT(A2:A7)) returns 2

Example 3

Show the modes in one cell

C2 =TEXTJOIN(", ",TRUE,MODE.MULT(A2:A7))

Result: 2, 3

TEXTJOIN turns the vertical list into one text string.

C2
A
B
C
D
1
Rating
Modes
2
1
2, 3
3
2
4
2
5
3
6
3
7
4
8

C2 =TEXTJOIN(", ",TRUE,MODE.MULT(A2:A7)) returns 2, 3

Example 4

Lay the modes out across a row

C2 =TRANSPOSE(MODE.MULT(A2:A7))

Result: 2, 3

TRANSPOSE turns the column of modes into a row.

C2
A
B
C
D
E
1
Rating
Modes
2
1
2
3
3
2
4
2
5
3
6
3
7
4
8

C2 =TRANSPOSE(MODE.MULT(A2:A7)) returns 2, 3

Your turn.

Solve it in the sheet. Every answer is checked, with hints if you need them.

Task 1 of 2

In C2, return how many different values tie for the most common rating in A2:A10.

Answer in C2.

C2
A
B
C
D
E
1
Rating
Number of modes
2
3
3
4
4
4
Modes (text)
5
5
6
3
7
2
8
4
9
3
10
5
11

Common mistakes

  • If no value repeats, MODE.MULT returns #N/A. Wrap it in IFNA for a friendly message.
  • The result spills down. Cells below the formula must be empty, otherwise you get #SPILL!.
  • In Excel 2019 and earlier it must be entered as an array formula with Ctrl+Shift+Enter over several cells.
  • Text and logical values in ranges are ignored. Numbers stored as text are not counted, so convert them first.

Questions people ask

What is the difference between MODE.MULT and MODE.SNGL?

MODE.SNGL returns one mode, the first that occurs. MODE.MULT returns all of them when there is a tie.

Why does MODE.MULT return #N/A?

No value appears more than once, so there is no mode. It can also appear in extra selected cells in an older array formula.

How do I put all the modes in one cell?

Use `=TEXTJOIN(", ",TRUE,MODE.MULT(range))`.

Does MODE.MULT work on text?

No. It works on numbers only. To find the most common text value, use a lookup on the most frequent entry from UNIQUE and COUNTIF.

Learn MODE.MULT in a real sheet.

Tracks take you from the basics to modelling, one graded exercise at a time.