Returns the most commonly occurring value in a dataset. Learn more
In Google Sheets, the MODE function is used to calculate the statistical mode of a range of values.
The mode refers to the value that appears most frequently in a set of data.
The syntax of the MODE function is as follows:
MODE(value1, [value2, …])
value1: The first value or range of values from which you want to calculate the mode.
value2, … (optional): Additional values or ranges of values from which you want to calculate the mode.
You can provide multiple values or ranges as input to the MODE function. It will then return the most frequently occurring value in the specified data set.
If there are multiple values with the same highest frequency, the MODE function will return the lowest value among them.
Here's an example to illustrate the usage of the MODE function in Google Sheets:
A B 1 Data Set 2 1 3 2 4 3 5 2 6 3
In cell B7, enter the formula: =MODE(A2:A6)
The result will be 2, as it is the most frequently occurring value in the data set.
Note that if there are no repeating values in the data set, or if all values appear with the same frequency, the MODE function will return an error, indicating that there is no mode.