Syntax
=MODE(number1, [number2], ...)Arguments
| Argument | Required | Description |
|---|---|---|
number1 | Required | A number, cell or range |
number2 | Optional | More numbers or ranges |
How to use MODE
MODE is kept so older workbooks keep working. It calculates the same way as MODE.SNGL, which is the name to use in new formulas.
MODE takes 1 required argument and 1 optional argument, and accepts more values in the same pattern. Type =MODE( in a cell and SheetsBat shows the arguments as you go. Optional arguments are shown in square brackets; leave them out to use their default.
Examples
Each result below was calculated by the SheetsBat formula engine.
=MODE(5.6, 4, 4, 3, 2, 4)Result Related compatibility functions
- GAMMAINVReturns the inverse of the gamma distribution (older name of GAMMA.INV).
- HYPGEOMDISTReturns the hypergeometric probability (older form of HYPGEOM.DIST).
- LOGINVReturns the inverse of the lognormal distribution (older name of LOGNORM.INV).
- LOGNORMDISTReturns the cumulative lognormal distribution (older form of LOGNORM.DIST).
- NEGBINOMDISTReturns the negative binomial probability (older form of NEGBINOM.DIST).
- NORMDISTReturns the normal distribution (older name of NORM.DIST).
- NORMINVReturns the inverse of the normal distribution (older name of NORM.INV).
- NORMSDISTReturns the cumulative standard normal distribution (older form of NORM.S.DIST).
- NORMSINVReturns the inverse of the standard normal distribution (older name of NORM.S.INV).