+ Reply to Thread
Results 1 to 8 of 8

Creating a Top Occurring List

  1. #1
    Registered User
    Join Date
    06-05-2010
    Location
    Syracuse, NY
    MS-Off Ver
    Excel 2007
    Posts
    8

    Creating a Top Occurring List

    Hey everyone,

    I have a list of movies that I've viewed over the years, along with release year and director. I've scoured the internet, but haven't been able to find a formula to do the following:

    I want to be able to generate a list in Excel 2007 of the Top 10 most frequently occurring Directors (C2:C1400) with in the document. I've found a few formulas that generate the first most frequently occurring, but after that I've hit a brick wall. Any thoughts? Thanks.

  2. #2
    Forum Contributor
    Join Date
    06-09-2009
    Location
    Wales
    MS-Off Ver
    Excel 2003
    Posts
    155

    Re: Creating a Top Occuring List

    your explanation is a little confusing....can you elaborate and perhaps attach a copy of the document?

    generate a list in Excel 2007 of the Top 10 most frequently occurring Directors (C2:C1400) with in the document. I've found a few formulas that generate the first most frequently occurring,

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Creating a Top Occuring List

    =IF(COUNTIF($C$2:C2,C2)=COUNTIF($C$2:$C$1400,C2),COUNTIF($C$2:C2,C2),0)
    then filter top ten is one way
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  4. #4
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Creating a Top Occuring List

    Using column-D as a helper, enter this formula in cell D2 and drag it down to the last used row in column-C

    =COUNTIF($C$2:C2,C2)+ROW()/100000

    Note: the "+row()/100000" is simply used to insure unique values in the counts by very slightly incrementing the count. It prevent matching duplicate counts in the following formula.

    In another cell, starting on row -2 (assumes header) use this formula:

    =INDEX($C$2:$C$300,MATCH(LARGE($D$2:$D$300,ROW()-1),$D$2:$D$300,0))
    Palmetto

    Do you know . . . ?

    You can leave feedback and add to the reputation of all who contributed a helpful response to your solution by clicking the star icon located at the left in one of their post in this thread.

  5. #5
    Registered User
    Join Date
    06-05-2010
    Location
    Syracuse, NY
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Creating a Top Occuring List

    I tried both recommended methods, but neither produced what I was looking for. The first one gave me an output of 1 and the second gave a single name.

    To answer the first response:

    C2:C1400 contains a list of Directors, while A1:A1400 contain Film Title and B1:B1400 contains Release Year. What I'm looking for is a formula that I can apply to another set of cells that will give me a list of the most frequently occurring names in the Director column.

    I beg pardon, because I'm fairly new to excel and this seems to be way above my skill level.

    I've attached jpg images of what I have set up and a mock up of what I'm looking for. Thanks.
    Attached Images Attached Images

  6. #6
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Creating a Top Occuring List

    see attached 2 ways very similar formula approaches palmettos and mine
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    06-05-2010
    Location
    Syracuse, NY
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Creating a Top Occuring List

    Thanks for the help guys! I got it to work, but I was just wondering for sake of wondering what the D column numbers represent. I'm still learning code for excel, so I don't know most of what I just plugged in. Thanks again for the help!

  8. #8
    Forum Expert Palmetto's Avatar
    Join Date
    04-04-2007
    Location
    South Eastern, USA
    MS-Off Ver
    XP, 2007, 2010
    Posts
    3,978

    Re: Creating a Top Occuring List

    I was just wondering for sake of wondering what the D column numbers represent
    This was explained in my earlier post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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