+ Reply to Thread
Results 1 to 10 of 10

Filtering the top 25 values in a column

  1. #1
    Registered User
    Join Date
    03-29-2012
    Location
    St Louie Mo
    MS-Off Ver
    Excel 2010
    Posts
    25

    Filtering the top 25 values in a column

    Hello kind folks.I'm trying to find a way of getting a list of the top 25 entries based on the number of times they appear in a column.And how many times they appear.I've been able to count the number of times a value appears in the column but this could take a long while as there are 100's of different entries in the column.Sort out duplicates and so on but I havent been able to find a way to filter or sort or count my way to what I need.As always your help and kindness are greatly appreciated.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Filtering the top 25 values in a column

    What formula did you use to count?

    something like:

    =COUNTIF(C:C,C2) copied down based on column C being of interest.

    Then you can filter, by selecting Number Filters, then Top 10... (and change to 25).
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    03-29-2012
    Location
    St Louie Mo
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Filtering the top 25 values in a column

    Thanks NBVC,but when I used the =Countif(E:E,E2) and copied that down to the bottom of the column I wanted to sort,It put a zero in every cell for some reason.I used the Countif formula then gave it a one of the part numbers I was looking for, this worked,in a way but there are 344 different part numbers in the well over 3k length of the column.Im trying to find the 25 most made parts in the last calender year,and the number of times we made each of them.I hope this helps to better explain what Im trying to do here.Thanks for your help....Lou

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Filtering the top 25 values in a column

    I can't see how =Countif(E:E,E2) gives you 0 unless there is nothing in E2 You should get a 1... then the second match will have 2, etc...

  5. #5
    Registered User
    Join Date
    03-29-2012
    Location
    St Louie Mo
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Filtering the top 25 values in a column

    Thanks for your help NBVC

  6. #6
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Filtering the top 25 values in a column

    Does this mean it works?

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,049

    Re: Filtering the top 25 values in a column

    magic smagic?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  8. #8
    Registered User
    Join Date
    03-29-2012
    Location
    St Louie Mo
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Filtering the top 25 values in a column

    Im sorry but I cant get it to work.The cell E810 is where last Aug 8th is started so I changed the formula to read...=Countif(E:E,E810) and put the code in a cell above E810 and still have the same results.Im problaby doing something wrong but I'll get a freash start in the morning.I do appreciate all the help.....lou

  9. #9
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Filtering the top 25 values in a column

    The formula doesn't go in column E.. it goes in the next available empty column.... then copy it down... and use that column for filtering top 25..

    If you still can't get it, post a sample workbook with no confidential info in it.

  10. #10
    Registered User
    Join Date
    03-29-2012
    Location
    St Louie Mo
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Filtering the top 25 values in a column

    Thanks NBVC,and please excuse my ignorance.It worked like a charm.Now I can filter those and find the info I needed.Again many thanks for your time.....Lou

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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