+ Reply to Thread
Results 1 to 5 of 5

AutoMerge (Remove duplicate Data) outside of Excel?

  1. #1
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    AutoMerge (Remove duplicate Data) outside of Excel?

    Currently I have an exported list which has some columns of data, for reference let's just say there are 2 columns for "name", "phone number".
    I add a third column for "notes"

    Later, I export an updated list which will have all the same "name" and "phone number" but doesn't have the "notes" that were added obviously.

    What we do now is manually copy the columns from the new sheet and paste it into the old sheet, then do a Remove Duplicates so it removes all the dupe names, keeping the original ones with their notes.

    Wondering if there is some way to automate this by just selecting the two files rather than having to copy, paste, etc. It's easy for me but some of my co-workers it is confusing. Not sure if this is even possible without some coding or outside app.

    (Maybe a VB button in the main file that pops up asking you which fie to merge in?)

    Thanks in advance as always. This may need to be moved out of general?

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,925

    Re: AutoMerge (Remove duplicate Data) outside of Excel?

    Please attach the sample workbooks without sensitive data. Thanks.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Re: AutoMerge (Remove duplicate Data) outside of Excel?

    I found a VB script that does exactly what I want, but it always removes the extra column (when it removes dupes it removes the Original item which has the extra info unfortunately.

    Please Login or Register  to view this content.
    I will attach a sample document with 2 tabs of data as an example. Just keep in mind my users have 2 files, not info in two tabs..just did it this way so I didn't have to attach two files.

    I basically just want to merge them without losing the notes for customers.
    Attached Files Attached Files

  4. #4
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,925

    Re: AutoMerge (Remove duplicate Data) outside of Excel?

    In the attached file, the control panel is used to set the path and file name to the source data.

    The general logic is that it opens the source file and appends it onto the end of the existing data. So new customers get added. The RemoveDuplicates function assumes that the second, third, etc. item found are the duplicates and removes them. So existing customers without notes get removed, but new customers stay appended.
    Attached Files Attached Files

  5. #5
    Forum Contributor NewYears1978's Avatar
    Join Date
    03-15-2010
    Location
    Forney, TX
    MS-Off Ver
    Excel 2016
    Posts
    962

    Re: AutoMerge (Remove duplicate Data) outside of Excel?

    Quote Originally Posted by dflak View Post
    In the attached file, the control panel is used to set the path and file name to the source data.

    The general logic is that it opens the source file and appends it onto the end of the existing data. So new customers get added. The RemoveDuplicates function assumes that the second, third, etc. item found are the duplicates and removes them. So existing customers without notes get removed, but new customers stay appended.
    That works and it's really fast. A little less user friendly but I can work with it and make it work, thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How we can remove duplicate data from excel sheet
    By intouch01 in forum Excel General
    Replies: 3
    Last Post: 09-05-2015, 07:46 AM
  2. Replies: 1
    Last Post: 08-31-2015, 05:21 AM
  3. [SOLVED] Append Data in Excel and remove duplicate records - Macro
    By socrates1911 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 12-20-2013, 06:01 PM
  4. Remove the whole row when data duplicate
    By cherrychan in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-20-2013, 07:05 PM
  5. excel macro to remove specific columns and rows + remove duplicate
    By garrywelson in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 01-17-2013, 12:03 PM
  6. [SOLVED] Excel AutoMerge
    By [email protected] in forum Excel General
    Replies: 0
    Last Post: 05-16-2006, 10:10 AM
  7. Is there a macro to identify and remove duplicate data in Excel?
    By Cindy Lou in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-08-2006, 11:15 PM

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