Excel Formula: Find most frequent text

If you want to find the text which occurs most frequently in a range of cells, you can combine the INDEX, MODE and MATCH functions together to deal with this task in Excel.
doc find most frequenst text 1

Generic formula:

=INDEX(rng,MODE(MATCH(rng,rng,0)))

Arguments

Rng:the range of cells you want to find the most frequent text in.

Return value

This formula returns the most frequent text.

How this formula work

Here taking an instance, find the most frequent texts in each column of range C3:F7. Please use below formula:

=INDEX(C3:C7,MODE(MATCH(C3:C7,C3:C7,0)))

Press Enter keys, then drag fill handle to fill cells for getting most frequent texts in each column.
doc find most frequenst text 2

Explanation

MATCH(C3:C7,C3:C7,0): the MATCH function returns the location of the lookup_value in a row or column. Here the formula returns the array result which find the position of each text in range C3:C7, {1;2;1;4;5}.
doc find most frequenst text 3

MODE(MATCH(C3:C7,C3:C7,0)): MODE function finds the most frequent text in a range. Here this formula will find the most frequent number in the array result {1;2;1;4;5} of MATCH function and returns 1.
doc find most frequenst text 4

INDEXfunction: the INDEX function returns the value in a table or array based on the given location. Here the formula =INDEX(C3:C7,MODE(MATCH(C3:C7,C3:C7,0))) will be shrunk to INDEX(C3:C7,1) and returns Apple.
doc find most frequenst text 5

Remark

If there are two or more most frequent texts, the formula will return the value which appear at first.

Sample File

doc sampleClick to download sample file


Relative Formulas

  • Find most requenst text with criteria
    In some cases, you may want to find the text which appears most frequently based on a criterion in Excel. This tutorial introduces an array formula to handle this job and gives the explanation about the arguments of this formula.
  • Combine cells with commas
    Here this tutorial provides some formulas to join multiple cells into one cell with comma as separator as below screenshot shown, and also explains how the formulas work in Excel.
  • Check if cell contains one of things
    Supposing in Excel, there is a list of values in column E, you want to check if the cells in column B contain all of the values in column E, and return TRUE or FALSE.
  • Check if cell contains number
    Sometimes, you may want to check if a cell contains numeric characters. This tutorial provides a formula which will return TRUE if the cell contains number, FALSE if cell does not contain number.

The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

Would you like to complete your daily work quickly and perfectly? Kutools for Excel brings 300 powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) and save 80% time for you.

  • Designed for 1500 work scenarios, helps you solve 80% Excel problems.
  • Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands.
  • Become an Excel expert in 3 minutes. No longer need to remember any painful formulas and VBA codes.
  • 30-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years.
Ribbon of Excel (with Kutools for Excel installed)

Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Firefox, And New Internet Explorer.
Screen Shot of Excel (with Office Tab installed)
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.

Be the first to comment.