Excel - MODE.SNGL Function



MODE.SNGL Function

The MODE.SNGL function returns the most repetitive number in the given dataset. This function works perfectly with the date, time, and, numbers. However, it gives you an error value if the dataset comprises only non-numeric values. It was introduced in Excel 2010 and is available only in the latter version of the MS Excel.

The main difference between the MODE.SNGL and MODE.MULT function is that the MODE.SNGL populates only one repetitive number which is the highest among all the given set of numbers whereas the MODE.MULT populates the list of all the most occurring numbers in the given dataset.

Compatibility

This advanced Excel function is compatible with the following versions of MS Excel −

  • Excel for Microsoft 365
  • Excel for Microsoft 365 for Mac
  • Excel for the web
  • Excel 2024
  • Excel 2024 for Mac
  • Excel 2021
  • Excel 2021 for Mac
  • Excel 2019
  • Excel 2016
  • Excel 2013
  • Excel 2010

Syntax

The syntax of the MODE.SNGL function is as follows −

=MODE.SNGL(number1, [number2]...)

Arguments

You can use the following arguments with the MODE.SNGL function −

Argument Description Required/Optional
Number1 It specifies the first argument to evaluate the mode. Required
Number2, ...

It specifies Arguments 2 to 254 to evaluate the mode.

Utilize a single array or a range of cells instead of arguments separated by commas.

Optional

Points to Remember

  • Arguments can be a single array, numeric value or named range, or cell references pointing to numbers.
  • If the duplicate values are not found in the dataset, then the MODE.SNGL function retrieves the #N/A error.
  • If an array contains text, Boolean values, or empty cells, those values are ignored; however, cells that contain zero are counted.
  • If a non-numeric value is supplied directly to the arguments, then the MODE.SNGL returns the #N/A error.

Examples of MODE.SNGL Function

Practice the following examples to learn the use of the MODE.SNGL function in Excel.

Example 1: How to use the MODE.SNGL Function in Excel?

In this example, the most recurring number is fetched in the set of numbers by using the MODE.SNGL function.

Solution

Step 1:Consider the sample dataset, where the numbers are specified in the cell range C2:C8. You may enter the formula =MODE.SNGL(C2:C8) and press the Enter tab.

How to use the MODE.SNGL Function1

Therefore, the resulting value is 55, the most occurring value in the given data set.

How to use the MODE.SNGL Function2

Example 2

If the duplicate values are not found in the dataset, then the MODE.SNGL function retrieves the #N/A error.

Solution

First, navigate to Sheet2 and write the formula =MODE.SNGL({23,12,34,54}) in the B2 cell and hit the Enter tab.

MODE.SNGL Function retrieves N/A error1

Hence, the MODE.SNGL function retrieves the #N/A error as there is duplicate value presented in the array.

MODE.SNGL Function retrieves N/A error2

Example 3

If only text values are supplied directly to the arguments, then the MODE.SNGL returns the #N/A error.

Solution

You may write the formula =MODE.SNGL({"pl","ks","ab","ab"}) in the C2 cell and hit the Enter tab.

MODE.SNGL Function

Therefore, the resulting value is #N/A error as the arguments contains only the text values which is invalid.

Download Practice Sheet

You can download and use the sample data sheet to practice the MODE.SNGL function.

Advertisements