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 =MODE.MULT(A2:A7) returns 2; 3
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], ...)
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 =MODE.MULT(A2:A7) returns 2; 3
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.
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.
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.
Because the answer is an array, wrap it to turn it into a single value:
=ROWS(MODE.MULT(A2:A10)).=TEXTJOIN(", ",TRUE,MODE.MULT(A2:A10)) returns 3, 4.=TRANSPOSE(MODE.MULT(A2:A10)).=INDEX(MODE.MULT(A2:A10),1) or =INDEX(MODE.MULT(A2:A10),ROWS(MODE.MULT(A2:A10))).=IFNA(TEXTJOIN(", ",TRUE,MODE.MULT(A2:A10)),"No mode").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.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.
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.
Each example is a live sheet. Change the inputs or the formula and watch the result.
Example 1
C2 =MODE.MULT(A2:A7)
Result: 2; 3
Both 2 and 3 appear twice, so the result spills into C2:C3.
C2 =MODE.MULT(A2:A7) returns 2; 3
Example 2
C2 =ROWS(MODE.MULT(A2:A7))
Result: 2
ROWS counts the entries in the spilled result.
C2 =ROWS(MODE.MULT(A2:A7)) returns 2
Example 3
C2 =TEXTJOIN(", ",TRUE,MODE.MULT(A2:A7))
Result: 2, 3
TEXTJOIN turns the vertical list into one text string.
C2 =TEXTJOIN(", ",TRUE,MODE.MULT(A2:A7)) returns 2, 3
Example 4
C2 =TRANSPOSE(MODE.MULT(A2:A7))
Result: 2, 3
TRANSPOSE turns the column of modes into a row.
C2 =TRANSPOSE(MODE.MULT(A2:A7)) returns 2, 3
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.
#N/A. Wrap it in IFNA for a friendly message.#SPILL!.MODE.SNGL returns one mode, the first that occurs. MODE.MULT returns all of them when there is a tie.
No value appears more than once, so there is no mode. It can also appear in extra selected cells in an older array formula.
Use `=TEXTJOIN(", ",TRUE,MODE.MULT(range))`.
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.
Tracks take you from the basics to modelling, one graded exercise at a time.