SpreadJS Documentation
MODE.MULT
SpreadJS Documentation > Formula Reference > Formula Functions > MODE.MULT

This function returns a vertical array of the most frequently occurring value in a set of data.

Syntax

MODE.MULT(value1,value2,...)

MODE.MULT(array)

MODE.MULT(array1,array2,...)

Arguments

Each argument can be a double-precision floating-point value, an integer value, or an array (cell range) of these. Up to 255 arguments may be included. You can use a single array (cell range) instead of a list of values. You can use multiple arrays (cell ranges) as well.

Remarks

If no value occurs more than once, the function does not return a value. If more than one value occurs the same number of times, the function returns the first value that repeats that same number of times.

If an array or reference argument contains text, logical values, or empty cells, the function ignores those values; however, the function includes in calculations cells with the value zero.

Data Types

Accepts numeric data for all arguments. Returns numeric data.

Examples

MODE.MULT(A3,B3,C3,D3)

MODE.MULT(A1:A9)

MODE.MULT(R1C2,12,10,R2C3)

MODE.MULT(A2:A9,B2:B9,B12:35)

MODE.MULT(89,95,88,97,88,74) gives the result 88

MODE.MULT(1,2,2,3,4,5,5) gives the result 2