+ Reply to Thread
Results 1 to 3 of 3

Removing repeat entries in a long column of data entries

  1. #1
    Registered User
    Join Date
    07-15-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Removing repeat entries in a long column of data entries

    hello all,

    I have a looooong column of data entries but there are repeat entries for many values. What is a good way of going thru the list from the top and removing any entries which repeat.

    The data is sorted in a particular order, so I can't re-sort it and make all the same entries appear together and delete manually.... ( and in any case, I wouldnt want to delete them manually)

    I am pretty new to VBA but was thinking of looping thru the column of entries, with an If Then conditional, and putting the entry to a new column, if it had not appeared in this new column previously? But not sure how to accomplish this or if this is the best way to do it. Really appreciate any hep and advice.

    Thanks,

    Kai
    Last edited by kaizhong1; 07-15-2010 at 01:34 PM. Reason: solved

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: removing repeat entries in a long column of data entries

    Hello Kai,

    Welcome to the Forum!

    It would help if you can post your workbook. We can then review the data and provide you with the best answer.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    07-15-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: removing repeat entries in a long column of data entries

    Thanks Leith.

    Just found a really easy answer online after trying to use code for the whole afternoon.

    just highlight the data and go to tools - data - filter - advanced filter and select unique records only and it will get rid of any duplicates! magic!

    Cheers.
    Kai

+ 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