+ Reply to Thread
Results 1 to 2 of 2

Excel Sorting

  1. #1
    Registered User
    Join Date
    05-19-2006
    Posts
    1

    Excel Sorting

    I have an excel sheet with 3 columns, and about 2000 rows. Column A contains the name of several companies. The company names appear several times. How can I create a function that goes through all the names and Sorts the most reoccurying name.

    Example:

    Walmart
    Fila
    Nike
    Walmart
    Fila
    Bank of America
    Fila
    Walmart
    Nike
    Walmart

    List should then look like:
    Walmart
    Walmart
    Walmart
    Walmart
    Fila
    Fila
    Fila
    Nike
    Nike
    Bank of America

  2. #2
    Forum Contributor
    Join Date
    01-06-2004
    Location
    Carbondale CO
    Posts
    245
    fallngod,
    I would add a helper column to the left of your column of company names. In that column place the following formula: =COUNTIF(B:B,B2) where column B is where your company names are and B2 is the first company name. Then copy this formula down your helper column, in this case column A. Then sort "Descending " on the helper column.

    HTH
    Casey

+ 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