+ Reply to Thread
Results 1 to 6 of 6

Top 5 Text Strings from List - Formula advice

  1. #1
    Registered User
    Join Date
    08-23-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    10

    Top 5 Text Strings from List - Formula advice

    Hi Folks

    Would be grateful of any advice.

    I'm trying to generate a 'Top 5' of the most frequently occurring text strings in a column.

    In Column A is a list of countries:

    A
    1 Germany
    2 United Kingdom
    3 Germany
    4 Italy
    5 United Kingdom
    6 United States of America
    7 Ireland
    ...

    In another column, without the use of pivot tables or filters, I'd like to have a Top 5 list which will list, in the correct order, the most frequently occurring text strings, like this:

    C
    D
    1 Top 5 Count
    2 Germany 27
    3 United Kingdom 23
    4 Italy 22
    5 United States of America 16
    6 France 11

    Can anyone suggest a formula which would do the job? Nothing I've found via Google seems to do the job.

    Much obliged,

    Paul

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Top 5 Text Strings from List - Formula advice

    My advice would be => use a pivot table for it.

    Another soluition could be:

    use sumif to count the appearance of a country.

    use rank to determine the rank of a country.

    after that use index / match to find the country belonging with the rank.

    But pivot table will do that for you (so that would be my way to go).
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: Top 5 Text Strings from List - Formula advice

    @Batteredveg

    Read the forumrules before posting, expecialy the one's about crossposting.


    http://www.mrexcel.com/forum/excel-q...la-advice.html

  4. #4
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Top 5 Text Strings from List - Formula advice

    Hi,

    Please see the attached file. I have added a helper column to identify the duplicates and their count.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    08-23-2011
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    10

    Re: Top 5 Text Strings from List - Formula advice

    Thanks so much, cbatrody - absolutely perfect!

    Much appreciated

    Paul

  6. #6
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Top 5 Text Strings from List - Formula advice

    You are welcome

    You can directly thank those who have helped you by clicking on the small * (star) icon located in the lower left corner of a post that you have found to be helpful.

+ 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. Formula to find and return text string within a cell full of text strings
    By LightingPop in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-03-2013, 11:45 PM
  2. Replies: 2
    Last Post: 03-07-2013, 02:34 AM
  3. Search For Mutltiple Text Strings In Each Cell In A List
    By kevinwhite24 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-22-2013, 02:22 PM
  4. Replies: 3
    Last Post: 01-31-2012, 12:40 PM
  5. How to find number of pairs of strings from list of strings?
    By greg_overholt in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-27-2006, 06:45 PM

Tags for this Thread

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