Excel MODE Function
The MODE function returns the most frequently occurring number in a set of numbers.
The MODE function returns a numeric value.
- Arguments in the MODE function can be supplied as numbers or names, arrays, or references that contain numbers. Up to 255 arguments are allowed.
- MODE function ignores empty cells or cells that contain text or Logical values.
- Cells with value zero will be included in the calculation.
- The #N/A error occurs if the data set contains no repetitive numbers.
- The #VALUE! error value occurs if any of the supplied arguments you typed directly in the function are non-numeric, or all the supplied arguments as ranges or cell references are text.
- MODE function is available for compatibility with Excel 2007 and earlier. In Excel 2010, the MODE.SNGL function replaced the MODE function. Although it’s been replaced, the MODE function is still available for backward compatibility in the newer versions of Excel. But we’re recommended to use the MODE.SNGL function in case the MODE function is not available in the future versions of Excel.
To calculate the most frequently occurring number from the numbers provided in the below table, please copy the formula below into cell E5 and press the Enter key to get the result.
- The argument in the above formula is supplied as a range that contains multiple values.
- We can directly input values in the arguments of the formula. The formula above can be changed to:
=MODE (80, 60, 70, 80, 60, 90)
- We can also use cell references as arguments of the formula. The formula above can be changed to:
=MODE (C5, C6, C7, C8, C9, C10)
- As the updated version of the MODE function, the MODE.SNGL function will return the same result if used.
- Unlike the MODE.MULT function, the MODE function and the MODE.SNGL function return only one single number even though multiple numbers of the same mostly occurring frequency exist. And these two functions only return the first number of those multiple numbers. In the formula above, number 80 and number 60 both occur two times in the data set, but only number 80 is returned because it is the first of the two numbers to appear in the range.
Excel DEVSQ Function
The DEVSQ function calculates the sum of squares of the deviations from the sample mean.
Excel DSTDEV Function
The DSTDEV function returns the estimated value of the standard deviation of a population based on a sample.
Excel DSTDEVP Function
The Excel DSTDEVP function returns the standard deviation of a population by using the numbers from the entire database that match the given criteria you specify.