A to Z of Excel Functions: The MODE.MULT Function
25 July 2022
Welcome back to our regular A to Z of Excel Functions blog. Today we look at the MODE.MULT function.
The MODE.MULT function
The mode is the value that appears most often in a set of data values. If X is a discrete random variable, the mode is the value x (i.e. X = x) at which the probability mass function takes its maximum value; it is the value that is most likely to be sampled.
The mode is not necessarily unique to a given discrete distribution, since the probability mass function may take the same maximum value at several points x1, x2, etc. The most extreme case occurs in uniform distributions, where all values occur equally frequently.
In symmetrical unimodal (i.e. only one mode value) distributions, such as the normal distribution, the mean (if defined), median and mode all coincide. For samples, if it is known that they are drawn from a symmetrical unimodal distribution, the sample mean can be used as an estimate of the population mode.
The MODE.MULT function measures what is known as “central tendency”, which is the location of the centre of a group of numbers in a statistical distribution. There are three common measures of central tendency:
- Average: the arithmetic mean, calculated by adding a group of numbers and then dividing by the count of those numbers. For example, the average of 2, 3, 3, 5, 7, and 10 is 30 divided by 6, which is 5
- Median: the middle number of a group of numbers; that is, half the numbers have values that are greater than the median, and half the numbers have values that are less than the median. For example, the median of 2, 3, 3, 5, 7, and 10 is 4. If the number of values in the selection is an even number, the median is defined as the midpoint between the two central numbers
- Mode: the most frequently occurring number in a group of numbers. For example, the mode of 2, 3, 3, 5, 7, and 10 is 3.
For a symmetrical distribution of a group of numbers, these three measures of central tendency are all the same. For a skewed distribution of a group of numbers, they can be different.
The 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 in Legacy Excel, but will return a dynamic array in Excel 365 and Excel for the web and Excel 2021 onwards.
It employs the following syntax to operate:
MODE.MULT(number1, [number2], ...)
The MODE.MULT function has the following arguments:
- number1: this is required. The first number, cell reference, or range for which you want to calculate the mode
- number2, …: this is optional. Additional numbers, cell references or ranges for which you want the mode, up to a maximum of 255 in total. You can also use a single array or a reference to an array instead of arguments separated by commas.
It should be further noted that:
- arguments may either be numbers or names, ranges or cell references that contain numbers
- logical values and text representations of numbers that you type directly into the list of arguments are counted
- if a range or cell 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.
This function is one of two to replace the MODE function, in order to provide improved accuracy and whose names better reflects its usage.
Please see my example below:
We’ll continue our A to Z of Excel Functions soon. Keep checking back – there’s a new blog post every business day.
A full page of the function articles can be found here.