+ Reply to Thread
Results 1 to 5 of 5

How to sort by most common occurance?

  1. #1
    Registered User
    Join Date
    11-03-2011
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    6

    How to sort by most common occurance?

    I don't know which part of the forum this question is better suited for.

    I have a list of over 600 book records, and the titles of the fields for each column are the following: title, author, illustrator, publisher, publication date, isbn.

    I want to sort the list by publisher who comes up the most in the 600+ records and have the records sorted by most common publisher (with the most hits) to least common publisher listed at the bottom of the list. I want the rows to be in sync with the sorting for that publisher column.

    How do I go about doing this?


    Thanks,

    Michael

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,164

    Re: How to sort by most common occurance?

    Hi michael and welcome to the forum,

    You need a helper column that counts the number of publishers names. Then sort by this helper column first (large to small) and then by the Publisher name second.

    See attached for an example.
    Attached Files Attached Files
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: How to sort by most common occurance?

    Exactly the same as Marvin, but with a bigger example.

    I had it done so as well to post it!
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  4. #4
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,164

    Re: How to sort by most common occurance?

    I'd delete the H column before trying to sort by the helper column but your example is way cooler than mine.

  5. #5
    Registered User
    Join Date
    11-03-2011
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: How to sort by most common occurance?

    Thanks Marvin and Marcol. I will try this in a few days when I finish compiling the 600+ records into excel and try to use your provided examples to solve my problem. Thanks, will update if I experience any problems that need more help.

+ 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