MODE function
Let's say you want to find out the most common number of bird species sighted in a sample of bird counts at a critical wetland over a 30-year time period, or you want to find out the most frequently occurring number of phone calls at a telephone support center during off-peak hours. To calculate the mode of a group of numbers, use the MODE function.
Syntax
MODE(number1, [number2])Square brackets indicate optional arguments.
Arguments
| Argument | Required | Meaning |
|---|---|---|
| number1 | Yes | Required. The first number argument for which you want to calculate the mode.A1:A4 |
| number2 | No · repeats | Optional. Number arguments 2 to 255 for which you want to calculate the mode. You can also use a single array or a reference to an array instead of arguments separated by commas.2 |
Try MODE
Read the legacy MODE function name
=MODE(2,2,5)MODE is the compatibility name corresponding to MODE.SNGL. Find a repeated numeric value. The result is checked against a separately authored expected value for the supplied table. You can edit the data to explore the rule. Use the modern name when creating a new formula; the old spelling is useful when reading existing workbooks.
Inspect the current formula
Read its written arguments or observe actual operation values in a separate local calculation. This action neither applies a draft nor grades an answer.
Read the formula, one argument at a time
Explore the written function calls and their inputs. The calculation result belongs to the complete formula.
MODE · top-level call
=MODE(2,2,5)1 / 3 · number1
Required. The first number argument for which you want to calculate the mode.
MODE reference ↗Follow the cells behind a result
Read explicit local references and helper formulas using a separate calculation. Your draft stays in this field; the worksheet and practice checks do not change.
The worksheet runs locally. Published checks apply to the supplied example only. Native Excel and Google Sheets compatibility remain unverified.
Reference and compatibility
Univer 1.0.4 / Apache-2.0. Calculation checks cover the supplied examples only. The browser worksheet does not implement every Excel feature, external service or connected data type.