Skip to main content

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

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions…
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


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, Edge and Firefox.
Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations