How to find the most common text value in a list in Google sheets?

If you have a long list of cells which contains some duplicate values, now, you want to find the most common text value which appears in the data list in Google sheets. How could you solve this job without checking one by one?

Find the most common value in a list in Google sheets with formula

Find the most common value in a list in Microsoft Excel with Kutools for Excel


Find the most common value in a list in Google sheets with formula

The following formula can help you to find the most common value in a list, please do as this:

Enter the following formula into a blank cell where you want to output the result, and then press Enter key, the most common value in the list will be displayed at once, see screenshot:

=ARRAYFORMULA(INDEX(A2:A17,MATCH(MAX(COUNTIF(A2:A17,A2:A17)),COUNTIF(A2:A17,A2:A17),0)))

To get the number of times which the most common value appears, you can apply this formula:

=ARRAYFORMULA(MAX(COUNTIF(A2:A17,A2:A17)))

Notes:

1. If you want to return the time occurence of each text, please apply the below formula into a blank cell, and then press Enter key to get the result:

=QUERY(A2:A17,"select A, count(A) where A is not null group by A order by count(A) DESC label A 'Product', count(A) 'Count'",-1)

2. In the above formulas, A2:A17 is the list of cells that you want to find the most common value from.


Find the most common value in a list in Microsoft Excel with Kutools for Excel

To find the most frequent value in a list in Excel worksheet, the Kutools for Excel’s Find most common value utility can help you without remebering any formulas.

Note:To apply this Find most common value, firstly, you should download the Kutools for Excel, and then apply the feature quickly and easily.

After installing Kutools for Excel, please do as this:

1. Click a blank cell where you want to output the result, and then click Kutools > Formula Helper > Formula Helper, see screenshot:

2. In the Formulas Helper dialog box, do the following operations:

  • Select Lookup option from the Formula Type drop down list;
  • Then choose Find most common value from the Choose a fromula list box;
  • In the right Arguments input section, select a list of cells that you want to extract the most common value beside the Range.

3. And then click Ok button, the most common value has been displayed into the selected cell, see screenshot:

Click to Download Kutools for Excel and free trial Now!


More relative articles:

  • Count Number Of Occurrence In A Column In Google Sheet
  • Supposing, you have a list of names in Column A of Google sheet, and now, you want to count how many times each unique name is appeared as following screenshot shown. This tutorial, I will talk about some formulas for solving this job in Google sheet.

The Best Office Productivity Tools

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial. 60-day money back guarantee.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
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.
  • To post as a guest, your comment is unpublished.
    Cathal · 9 months ago
    Hi,

    How would I use this function but calculate only a subtotal of a filter.

    I tried something like this but it didn't seem to work
    =ARRAYFORMULA(INDEX(subtotal(101,A2:A17),MATCH(MAX(COUNTIF(subtotal(101,A2:A17,A2:A17))),COUNTIF(subtotal(101,A2:A17,A2:A17),0)))

    Can't seem to figure it out and I've been searching the web for hours.

    Thanks!
  • To post as a guest, your comment is unpublished.
    sean doyle · 1 years ago
    Hello. Thank you so much for posting this -- it was a huge help. How would the formula change if I wanted the 2nd most common, 3rd most common, etc value in a list? Thanks.
  • To post as a guest, your comment is unpublished.
    Damien Lesser · 1 years ago
    How do you exclude a particular value from the formula, such as —