HomeGoogle DocsSpreadsheetLearn the Use of the MODE.SNGL Function in Google Sheets

Learn the Use of the MODE.SNGL Function in Google Sheets

Published on

Formula compatibility issue can cause “Unknown function” error in Sheets. It often happens when you switch from other compatible Spreadsheet applications to Sheets. By including the MODE.SNGL function in Google Sheets, I think the Sheets’ development team is working to avoid compatibility errors in Sheets. Why did I think so?

Google Sheets has three functions to find the mode aka most occurring number in a dataset. They are MODE, MODE.MULT and MODE.SNGL. The function MODE.SNGL and MODE are actually similar in use. I don’t know whether the latter function will be deprecated in the future.

In this tutorial, you can learn how to use the MODE.SNGL function in Google Sheets. What about MODE.MULT?

Sometimes, your dataset may contain multiple model values (more than one mode). In that case, you can use the MODE.MULT function. If the dataset doesn’t contain any model value, then obviously the MODE.SNGL as well as the MODE.MULT function would return N/A error.

Syntax and Arguments of the MODE.SNGL Function in Google Sheets

Syntax of the MODE.SNGL Function:

MODE.SNGL(value1, [value2, …])

Function Arguments:

  • value1 – The first value to consider when calculating a model value.
  • value2 – The second value to consider when calculating a model value.
  • value3, value4 … – Additional values to consider.

Example:

=mode.sngl(5,4,5)

In this, I have used three values – value1, value2, and value3. Also, you can refer to a range in Sheets MODE.SNGL function.

=mode.sngl(A1:A10)

Note:

Sheets MODE.SNGL function is specified as taking a maximum of thirty arguments. But, for this function, Sheets supports an arbitrary number of arguments.

MODE.SNGL – Formula Examples

To manually find the model value we must put the number in order and count the group. But when using the MODE.SNGL function, no need to SORT (arrange the numbers in order).

For example, see the numbers in column A which are sorted. The MODE.SNGL formula in cell C2 returns 18 as the model value (mode).

Example to MODE.SNGL Function in Google Sheets

Count each group and you can see that the number 18 occurring thrice. The sorted data helps you manually find the model value.

I have copied the same numbers to column E and shuffled. The formula in cell G2 returns the same model value from this unsorted data.

=mode.sngl(E2:E12)

You May Like: How to Shuffle Rows in Google Sheets Without Plugin.

What happens when there are multiple modes and you use MODE.SNGL instead of MODE.MULT?

In such a case, the MODE.SNGL formula would return the first found most occurring value.

For the following number set;

5,4,11,16,18,18,18,20,20,20,25,26,27

The model value will be 18 and multiple model value will be 18 and 20.

MODE.SNGL Formula:

=mode.sngl(5,4,11,16,18,18,18,20,20,20,25,26,27)

Result: 18

MODE.MULT Formula:

=MODE.MULT(5,4,11,16,18,18,18,20,20,20,25,26,27)

The MODE.SNGL function arguments can be numbers, dates, time, and timestamp (DateTime). That means the function equally works in a date/time/DateTime range.

With this example, I am winding up this tutorial on the use of MODE.SNGL function in Google Sheets.

MODE.SNGL in timestamp range

Cell C2 must be formatted to DateTime from the menu Format > Number > Date time.

Prashanth KV
Prashanth KV
Your Trusted Google Sheets and Excel Guide Prashanth KV brings a wealth of experience in Google Sheets and Excel, cultivated through years of work with multinational corporations in Mumbai and Dubai. As a recognized Google Product Expert in Docs Editors, Prashanth shares his expertise through insightful blogging since 2012. Explore his blog for practical tips and guidance on maximizing your spreadsheet skills.

Excel: Month Name to Number & Number to Name

This tutorial showcases the most efficient formulas for converting a month name to a...

Get the First or Last Row/Column in a New Google Sheets Table

If you've recently started using the new Google Sheets TABLE functionality, you may find...

UNIQUE Function in Visible Rows in Google Sheets

The UNIQUE function doesn't inherently include only visible rows when it returns values, discarding...

Customizing Alternating Colors of a Table in Google Sheets

Google Sheets' new table feature offers limited options for customizing colors. While you can...

More like this

Get the First or Last Row/Column in a New Google Sheets Table

If you've recently started using the new Google Sheets TABLE functionality, you may find...

UNIQUE Function in Visible Rows in Google Sheets

The UNIQUE function doesn't inherently include only visible rows when it returns values, discarding...

Customizing Alternating Colors of a Table in Google Sheets

Google Sheets' new table feature offers limited options for customizing colors. While you can...

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.