How to Use the MODE.MULT Function in Google Sheets

In this quick tutorial, I’ll elaborate on the use of the statistical function MODE.MULT in Google Sheets.

To find the mode value, you can use the MODE function. The mode value represents the most common number in a dataset.

However, what is the significance of the MODE.MULT function if there’s already a MODE function available in Google Sheets?

In this post, I’ll delve into the role of the Google Sheets MODE.MULT function and provide some additional tips.

MODE.MULT Function: Syntax and Formula Examples in Google Sheets

Syntax:

MODE.MULT(value1, [value2], ...)

Arguments:

  • value1: The first value or range to consider.
  • [value2], …: Optional. Additional values or ranges to consider.

When specifying ranges in value1, value2, etc., they can be of the same size or different sizes, such as =MODE.MULT(A1:A10, C1:C10) or =MODE.MULT(A1:A10, C10:C25).

Basic Examples

=MODE.MULT(5, 4, 5, 2)

The above MODE.MULT formula would return #5 as the mode value (the most frequently occurring number).

The following MODE formula would also produce the same output:

=MODE(5, 4, 5, 2)

The distinction between MODE and MODE.MULT lies in the latter’s ability to return multiple modes. We will explore this in the example below.

MODE.MULT: The Multiple Mode Function

Assuming you have a dataset in the range B2:B9 with multiple model numbers, the MODE function alone won’t suffice. To return multiple modes, you must use the MODE.MULT function.

=MODE.MULT(B2:B9)

The formula returns the numbers 2, 4, and 5 as the range contains {5; 5; 4; 4; 2; 2; 1; 9}. The output is sorted in ascending order by default.

Example of MODE.MULT Function in Google Sheets

If you use MODE, it will only return the first mode, which in our example would be #5.

Key Points:

  • When using the MODE.MULT function, ensure there are enough blank cells below the formula’s application cell. Otherwise, the formula may sometimes return a #REF error.
  • The MODE.MULT function is an array formula. Unlike Excel versions that only support legacy array formulas, you don’t need to enter this formula as an array formula by pressing Ctrl+Shift+Enter or using the ARRAYFORMULA function in Google Sheets.
  • If no values occur more than once, the function returns a #N/A error.
  • The function ignores text and blank cells in the range.
  • If error values are present in the range, the formula will return an error. To remove error values, you can use TOCOL if the range is vertical and TOROW if the range is horizontal. For example: =MODE.MULT(TOCOL(D8:D13, 3)).

How to Check for Multiple Modes in a Range

To test whether a dataset contains multiple model numbers, you can use the IF and COUNT functions with the MODE.MULT function as shown below:

=IF(COUNT(MODE.MULT(B2:B9))>1,"Multiple Modes","")

Explanation:

  • MODE.MULT(B2:B9): Returns the modes in the range.
  • COUNT(…): Returns the count of values in the MODE.MULT result.

The logical expression in the IF function is COUNT(MODE.MULT(B2:B9))>1. If true, the formula returns “Multiple Modes”; otherwise, it returns an empty result. This follows the syntax IF(logical_expression, value_if_true, value_if_false).

With this example, we conclude this tutorial. Thank you for your attention, and we hope you found it helpful!

Resources

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.

Filter Top N per Category in Excel (Using FILTER & COUNTIFS)

You can use a combination of FILTER and COUNTIFS to filter the top N...

Rank per Group in Excel

You have two groups of 20 students each. How do you determine the rank...

Real-Time Excel Filtering Using Combo Box & FILTER Function

In this tutorial, you’ll learn how to set up real-time Excel filtering using a...

Google Sheets: Extract Top N per Group from Query Aggregation

When working with grouped and aggregated data in Google Sheets, you might need to...

More like this

Google Sheets: Extract Top N per Group from Query Aggregation

When working with grouped and aggregated data in Google Sheets, you might need to...

How to Extract Top N from Aggregated Query Results in Google Sheets

To summarize data in Google Sheets, you can use the QUERY function. However, if...

How to Use RANK IF in Google Sheets (Conditional Ranking)

You can use the RANK function to rank values in an entire dataset. But...

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.