Results 1 to 24 of 24

Macro to compare columns and copy rows.

Threaded View

  1. #1
    Registered User
    Join Date
    09-12-2012
    Location
    Richmond, VA
    MS-Off Ver
    Varies but mostly 365
    Posts
    15

    Macro to compare columns and copy rows.

    My last post just timed out so I lost all my notes... Trying again...

    I'm trying to create a macro to scrub new data and update my records for a rolling 30 day dashboard and other charts that feed off the main dataset...

    Example file attached. I need to scan the 'New' worksheet tab, Column A [Record] against the 'Old' worksheet tab, also Column A [Record]. If a match is found then copy the row of "New" data over the row of "Old" data. If a match is not found append the "New" row to the end of the "Old" sheet / table.

    I also need code to then delete rows from the 'Old' sheet that are 30 days or older than today.

    Please let me know if there is any additional information I can provide, sorry my last post timed out and I lost all the extras I had included.

    Thank you,
    Jason.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Macro to compare nominated columns to see if there are entries on the same rows
    By scottiex in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-03-2015, 05:31 AM
  2. [SOLVED] Macro to compare nominated columns to see if there are entries on the same rows
    By scottiex in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-02-2015, 07:09 PM
  3. [SOLVED] Excel macro, compare two columns from 2 sheets and copy the different rows
    By lagiosman in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-10-2013, 11:09 AM
  4. Compare two sheets,copy and paste unique rows based on values in 2 columns
    By ooggiemobile in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-02-2013, 03:58 AM
  5. Need to Compare Two Columns On Different Sheets and Copy Rows with Unique Value
    By triplesechumor in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-03-2013, 02:34 AM
  6. [SOLVED] Compare two rows and copy only changes from the columns
    By ahsanzafar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-27-2012, 12:15 AM
  7. Need Macro to Compare Columns and then Reorganize Rows
    By WildSpreadsheets in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-12-2011, 11:03 PM

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