+ Reply to Thread
Results 1 to 4 of 4

Sorting duplicates

Hybrid View

  1. #1
    Registered User
    Join Date
    11-21-2007
    Posts
    2

    Sorting duplicates

    Hi
    I have a worksheet contains around 4000 rows and quite a few duplicates some duplicated as many as 20 times. I want to find a way to sort them so that most duplicated rows are on the top and least duplicated are at the bottom.
    Alternatively delete the duplicates rows but have a cell that shows howmany times that row was duplicated before the deletion.
    Any help will be greatly appreciated.
    Thanks

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hello Forest,

    Take a look at this link on sorting it may help? Once you have sorted you can then do a count of duplicates on the row you wish to retain, copy and paste the values of the sum, then delete to duplicate rows.

    http://www.contextures.com/xlSort01.html
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Forum Expert
    Join Date
    01-12-2007
    Location
    New Jersey
    Posts
    2,127
    See if my example in this thread helps you out at all. Report back with questions.

    http://www.excelforum.com/showthread.php?t=622011

  4. #4
    Registered User
    Join Date
    11-21-2007
    Posts
    2

    One little problem

    Bigbas Thanks
    Great help but one little problem im having, I can not see the count.
    =IF(COUNTIF($A$2:A2,A2)>1,"Duplicate","First Occurrence") works fine but how do i do the count?
    Im using excel 2007 if it makes any difference.
    Thanks for your time

+ 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