+ Reply to Thread
Results 1 to 3 of 3

VBA Remove duplicate entries accross multiple columns??

  1. #1
    Registered User
    Join Date
    10-01-2010
    Location
    Doncaster, England
    MS-Off Ver
    Excel 2003
    Posts
    10

    VBA Remove duplicate entries accross multiple columns??

    Hi all,

    I have a number of smaller tables (with 4 Colums) which are populated from a large expansive table from another sheet, once the information is extracted it is displayed into something that looks similair to as shown below, (There are 3 other tables with different information but they are essentially the same format as shown.)

    A..............B.........................C.......................D
    Type........Name..........Function1........Function2

    A..............Car............Transport.........Pull Trailer
    A..............Van...........Transport.........Pull Trailer
    A..............Car............Transport.........Pull Trailer
    B..............PushBike...Transport........Excercise
    A..............Car............Transport.........Pull Trailer
    C..............Car............Transport.........Pull Caravan
    B.............Motorbike....Transport.........Leisure

    The problem is this list is extensive and will be acrross many rows, and i need to run a macro that will read the table and find duplicate entries and remove them. (Bearing in mind the information content is accrosss 4 colums).
    I have found various refernces accross the net about removing duplicate entries in a row, however nothing for the the duplicates entires that are duplicates as they accross numerous columns.
    Please excuse the full stops that was purely done for formatting.
    Any help with this would be muchly appreciated,
    Many thanks in advance.
    Simon

  2. #2
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: VBA Remove duplicate entries accross multiple columns??

    Did you consider using "=Concatenate(A1,B1,C1,D1)" in Column E ?



  3. #3
    Registered User
    Join Date
    10-01-2010
    Location
    Doncaster, England
    MS-Off Ver
    Excel 2003
    Posts
    10

    Smile Re: VBA Remove duplicate entries accross multiple columns??

    Oh my god that is Genius!!!!!!, by george i think that just might do the trick.
    Then for completness i can just repopulate another table keeping the scource data intact.

    Thank you, thank you, thank you.

+ 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