+ Reply to Thread
Results 1 to 6 of 6

check data in column D and replace with updated data

  1. #1
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Donemana, NI
    MS-Off Ver
    Excel 2007
    Posts
    386

    check data in column D and replace with updated data

    I have the attached workbook that I need code to check if the new data contained in sheet2 "Modified" is different in column D compared to the original data in sheet1 "Original" and replace it with the updated value in column D. The key fields are column A and column C. I cannot just delete the original data as it is referenced elsewhere so it just needs to be column D.
    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    07-07-2015
    Location
    Israel
    MS-Off Ver
    2010
    Posts
    20

    Re: check data in column D and replace with updated data

    Hi,

    I hope this would be useful for you.
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Donemana, NI
    MS-Off Ver
    Excel 2007
    Posts
    386

    Re: check data in column D and replace with updated data

    Sorry this works fine when the data ranges are always the same size but from time to they can be different, can the code look at the key fields in columns A & C and replace the data accordingly?

  4. #4
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Donemana, NI
    MS-Off Ver
    Excel 2007
    Posts
    386

    Re: check data in column D and replace with updated data

    Can anyone help me with this?

  5. #5
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: check data in column D and replace with updated data

    Maybe:

    Please Login or Register  to view this content.

  6. #6
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: check data in column D and replace with updated data

    Hi,

    another alt using scripting dictionary,

    Please Login or Register  to view this content.
    Cheers,
    berlan

+ 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. Check Replace and Save data
    By shreeku in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-03-2014, 03:50 AM
  2. Replies: 1
    Last Post: 09-26-2013, 11:32 AM
  3. Replies: 3
    Last Post: 07-24-2012, 12:54 AM
  4. [SOLVED] Return data from the most recently updated column
    By Herr Rommel in forum Excel General
    Replies: 6
    Last Post: 03-19-2012, 05:00 AM
  5. Replies: 8
    Last Post: 08-15-2010, 11:29 PM
  6. Replace data from one column with data in another
    By jmcall10 in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 02-19-2009, 11:07 AM
  7. Column of Data to be copied and Continusle updated
    By cakonopka in forum Excel General
    Replies: 4
    Last Post: 05-17-2007, 06: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