In Excel 2010, the MODE function has been renamed as MODE.SNGL.
The Excel MODE function returns the statistical mode (the most frequently occurring value) of a list of supplied numbers. If there are 2 or more most frequently occurring values in the supplied data, the function returns the lowest of these values
The syntax of the function is:
where the number arguments are a set of one or more numeric values (or arrays of numeric values), for which you want to calculate the statistical mode.
In current versions of Excel (Excel 2007 and later), you can supply up to 255 number arguments to the Mode function, but in Excel 2003, the function can only accept up to 30 number arguments.
Text and logical values within a supplied array are ignored by the function.
In the following spreadsheet, the Excel Mode function is used to calculate the statistical mode of the set of values in cells A1-A6.
In the following spreadsheet, the Mode function is used to calculate the statistical mode of the set of values in cells A1-A10.
Note that in this case, there are two modes in the data.
Further details and examples of the Excel Mode function are provided on the Microsoft Office website.
If you get an error from the Excel Mode function this is likely to be one of the following:
|#NUM!||-||Occurs if there are no duplicates (and there is therefore no mode) within the supplied values.|
|#VALUE!||-||(Note that non-numeric functions that are part of an array of values are ignored by the Mode function).|