+ Reply to Thread
Results 1 to 5 of 5

Google Sheets: Find Most Occurring Text

  1. #1
    Registered User
    Join Date
    02-27-2020
    Location
    Riyadh
    MS-Off Ver
    Office 365
    Posts
    23

    Google Sheets: Find Most Occurring Text

    Hello,

    I am trying to find the most occurring text in my range.

    This formula works well to find the most occurring text


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

    Now, I want to tweak the formula to find the second highest, third higest etc.

    Please let me know.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,404

    Re: Find Most Occurring Text

    This is not an Excel formula - are you using Google Sheets?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    02-27-2020
    Location
    Riyadh
    MS-Off Ver
    Office 365
    Posts
    23

    Re: Find Most Occurring Text

    Yes, Google Sheets, that is right, can you please let me know to tweak it please? Shouldnt, make a difference right?

    Apologies should have clarified.
    Last edited by AliGW; 06-06-2021 at 09:49 AM. Reason: PLEASE don't quote unnecessarily!

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,404

    Re: Find Most Occurring Text

    Yes, it does make a difference. I am moving this to the correct forum sub-section.

  5. #5
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,974

    Re: Google Sheets: Find Most Occurring Text

    You can use LARGE:

    =ARRAYFORMULA(INDEX(A1:A17,MATCH(LARGE(COUNTIF(A1:A17,A1:A17),2),COUNTIF(A1:A17,A1:A17),0)))

    adjust the 2 to whatever value you want.
    Everyone who confuses correlation and causation ends up dead.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Google Sheets: Need to find the match number then enter the text
    By tuongtu3 in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 8
    Last Post: 04-01-2021, 01:13 AM
  2. Find exact excel vs google sheets
    By davidstokes in forum Excel General
    Replies: 3
    Last Post: 09-21-2018, 08:59 AM
  3. Google Apps Script for Google Sheets Pulling Formulas from Master to Several Slave Sheets
    By excelroofing in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 4
    Last Post: 08-22-2018, 02:06 AM
  4. Find the nearest date in a range of dates formula (Google sheets)
    By kaytoc in forum For Other Platforms(Mac, Google Docs, Mobile OS etc)
    Replies: 1
    Last Post: 10-20-2017, 05:20 PM
  5. Find most frequently occurring text string in in a VISIBLE range of cells
    By Odlanier in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-01-2013, 05:27 PM
  6. Find most occurring text within a Table column
    By XxCMoneyxX in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-27-2012, 09:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1