+ Reply to Thread
Results 1 to 4 of 4

Update Duplicate records - macro

  1. #1
    Forum Contributor
    Join Date
    08-08-2012
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    196

    Update Duplicate records - macro

    Hi,

    I require a small help in creating a macro which can find duplicate records between column A to C and copy and paste into blanks of column C and B, only if column A has two empty columns B and C.

    for example - input data
    (A), (B), (C)
    AW12,567
    SW12,
    DE34,
    FR56, 45673
    AW12 ,567, 678
    DE34, 5677543

    desired output:

    AW12, 567
    SW12,
    DE34, 5677543
    FR56, 45673
    AW12,567, 678
    DE34, 5677543

    Any help would be very much appreciated. Thank you so much.

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2012
    Location
    Mauritius
    MS-Off Ver
    Excel 2007
    Posts
    1,055

    Re: Update Duplicate records - macro

    Hi

    Try this macro:

    Click *, if my suggestion helps you. Have a good day!!

  3. #3
    Forum Contributor
    Join Date
    08-08-2012
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    196

    Re: Update Duplicate records - macro

    There are couple of problems with the code, as mentioned below in the bottom post.
    Last edited by missy22; 01-15-2013 at 11:20 AM.

  4. #4
    Forum Contributor
    Join Date
    08-08-2012
    Location
    london
    MS-Off Ver
    Excel 2010
    Posts
    196

    Re: Update Duplicate records - macro

    Apology for the late response but I can not get the above solution (code) to work as it keeps crashing on larger instances of data such as more than 40,000 and the code does not update the missing blanks but instead it erases data in column C.

    I have attached workbook with he example of input, desired output and what the code is currently displaying.

    Update_records_version2.xlsm

    I am using the following code below:
    Please Login or Register  to view this content.

    Any help with this matter would be very much appreciated.

+ 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