The MODE function in Google Sheets returns the most commonly occurring value in a dataset.
Parameters
value1: The first value or range to consider.value2, ...: [Optional] Additional values or ranges to consider.
Step-by-Step Tutorial
-
Using
MODEwith individual values:- Example:
=MODE(1, 2, 2, 3, 3, 3) - Result:
3
- Example:
-
Using
MODEwith a range of cells:- Example: If
A1:A5has the values1, 2, 2, 3, 3, 3, then=MODE(A1:A5)will return3.
- Example: If
Working with a Single Value, a List, and a Range
MODE accepts numbers one at a time, as a comma-separated list, or as a range — mix and match freely. It returns the value that occurs most frequently in the dataset.
- Single value:
=MODE(A1)— with only one value and nothing to repeat, this returns a#N/Aerror, since there's no mode. - List of values:
=MODE(A1, A2, A3, A4)— ifA1throughA4are1,2,2,3, this returns2, the value that appears most often. - Range:
=MODE(A1:A10)— returns the most common value across every cell in the range. - Mixed:
=MODE(A1, A3:A6, 10)— you can combine single cells, ranges, and literal numbers in one call.
Use Cases and Scenarios
- Survey Responses: Determine the most common response in a survey.
- Stock Analysis: Find the most frequently occurring stock price.
- Test Scores: Identify the most common test score in a class.