+ Reply to Thread
Results 1 to 2 of 2

How to delete duplicates and merge data using a macro

  1. #1
    Registered User
    Join Date
    01-20-2011
    Location
    Toronto,Ontario
    MS-Off Ver
    Excel 2003
    Posts
    1

    How to delete duplicates and merge data using a macro

    I have merged two different databases worth of information. There are now many duplicates within the database. The probelm is that one database had half the information while the other database had the other half of the information I need. What I would like to do is merge the two databases worth of information and delete the duplicates.

    Example:
    New Database
    Name Type Interest1 Interest2
    John Smith GP Sports Orthopedics
    John Smith Respitory


    What I want:
    New Database
    John Smith GP Sports Orthopedics Respitory

    If anybody could help me out it would be greatly appreciated. I can provide you with any additional information.

    Thanks,
    LIz

  2. #2
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: How to delete duplicates and merge data using a macro

    Hi Liz

    It really depends on what your data bases look like. If the new database looks like this
    Name Type Interest1 Interest2
    John Smith GP Sports Orthopedics
    John Smith Respitory
    it could be rather easy. However, if the new database looks like this
    Name Type Interest1 Interest2
    John Smith GP Sports Orthopedics
    John Q. Smith Respitory
    or this
    Name Type Interest1 Interest2
    John Smith GP Sports Orthopedics
    H. John Smith Respitory
    It becomes rather difficult. How conformed are the fies? Post an extensive sample of your actual data...let us look at it.
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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