+ Reply to Thread
Results 1 to 5 of 5

Duplicates

  1. #1
    Registered User
    Join Date
    05-03-2007
    Posts
    4

    Duplicates

    Last week several of you helped me in identifying duplicates in a list of 25,000+ names. Now that I have highlighted them in red for identification, how do I elimiate all other entries. I only need the duplicates and want to either draw them out or eliminate all other entries.

    I've read about code modules, but haven't found anything telling me exactly how to enter them in VBE.

    Thanks

  2. #2
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256

    Simple solution

    Goto the menu: Select Data>Filter>Advanced Filter...
    Use the tick box for 'Unique records only'
    //Ola

  3. #3
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256

    ...if you want to keep only the duplicates

    Use a separate column: =COUNTIF($A$2:$A$25000,A2)>1
    Use Autofilter, to filter out all that are False.
    Then mark all visible rows and use Delete row
    //Ola

  4. #4
    Registered User
    Join Date
    05-03-2007
    Posts
    4
    Where do I "mark all visible rows" and "delete row"? Sorry, I'm sure this a dumb question.
    Thanks

  5. #5
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256
    First take a copy of the file, just for safety.
    Then move the cursor to the row numbers (the bar on the left side showing [1 to 65536] ) and click the bar so the whole row get selected and select all the rows that are visible and you would like to delete.

    A fast way to select all rows - that I use - is to select the first row (click the bar so the whole row get selected) to delete, hold down the Shift button and then hit the End button once and the Arrow down button, then release the Shift button. Now all rows that you want to delete should be selected. This normally select all rows with a content.

    Then goto menu: Edit>Delete rows
    If you like you could also add a delete icon - if you like

    Hope this helps
    Ola

+ 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