MODE

Returns the most commonly occurring value in a dataset. Learn more

Video field
Statistical

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.

Want even more from Google Sheets?


With Softr, you can turn your spreadsheets into powerful web apps.You can give advanced roles and permissions to each user, build advanced logic and automation flows, customize the design to your needs, and much more.


Softr also offers a growing library of templates for internal tools, client portals, community hubs, and more. The templates come with a Google Sheet or an Airtable base that you can use to store and manage your data easily.


Try Softr now and build your custom web apps in 10 minutes no code required!