+ Reply to Thread
Results 1 to 6 of 6

Matching and updating data from one worksheet to another

  1. #1
    Registered User
    Join Date
    03-21-2015
    Location
    Alexandria, VA
    MS-Off Ver
    Office Professional Plus 2013
    Posts
    11

    Matching and updating data from one worksheet to another

    Fellow forum members –

    I am attempting to refine some processes and need assistance. I originally posted this in late September, to which "LeoTaxi" provided a macro that worked perfectly when the pages were in the same document. But, when I try to write the macro for it to work with two different workbooks, the curser spins but, when it stops the cells are still blank. Admittedly, I am more versed with formulas than macros.

    Repeat from Sep 29: "The attached document contains two worksheets. The first contains an excerpt of a company’s data relating to product deficiencies. The second contains the update of investigative activity on those deficiencies. Working with the historical data I am trying to develop a formula that will match columns A, C, L, and M with the same columns in the AUG Update. Once exact match is made I then want to populate the Historical data, columns N through T, with information found on the AUG Update."

    I have attached the two separate workbooks. I would prefer a formula but will work with a macro - as my deadline is quickly approaching.

    Any ideas? Thank You!!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Matching and updating data from one worksheet to another

    With the other workbook in same Path



    Kind regards
    Leo
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-21-2015
    Location
    Alexandria, VA
    MS-Off Ver
    Office Professional Plus 2013
    Posts
    11

    Re: Matching and updating data from one worksheet to another

    Leo,

    Thanks for your assistance - this works well with my two sample documents, but I still need assistance.

    First, when I rewrite the macro to work with the two actual documents none of the fields update. I am confident at least part of it works because when it finishes it saves and closes the one document. Unfortunately, due to the sensitive nature of the actual data in the two documents I am unable to share them with you.

    Second, I only want the macro to run if column "N" is blank in the historical data file.

    Are these easy fixes?

  4. #4
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Matching and updating data from one worksheet to another

    for second point change is made.
    you find some comment in code, about things to check for first point.


    Kind regards
    Leo
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    03-21-2015
    Location
    Alexandria, VA
    MS-Off Ver
    Office Professional Plus 2013
    Posts
    11

    Re: Matching and updating data from one worksheet to another

    Leo,

    Thank you tremendously for your time - but it still is not populating the blank columns. I have attached the code as modified for the actual sheet and file names; as well as the actual columns to be populated. Would you please review and let me know what I may have done wrong? Thank you
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    08-16-2015
    Location
    Antwerpen, Belgium
    MS-Off Ver
    2007-2016
    Posts
    2,380

    Re: Matching and updating data from one worksheet to another

    someting wrong with the resize and i dont find it
    but in this replaced it by copy

    Please Login or Register  to view this content.
    Kind regards
    Leo

+ 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. Matching and updating data from one worksheet to another
    By Semper.Fi.Rob in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 09-30-2015, 05:10 PM
  2. Updating worksheet and move data to another worksheet
    By MrChiss in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-15-2015, 09:49 AM
  3. copy matching and non-matching data into new worksheet
    By sarat47 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-22-2014, 12:19 PM
  4. [SOLVED] Matching two sheet data and updating it
    By JoeDutta in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-17-2014, 06:04 AM
  5. Replies: 0
    Last Post: 03-03-2012, 03:29 AM
  6. matching and updating 2 sheets data
    By reemref in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-12-2010, 03:13 AM
  7. Updating one worksheet with data from another
    By gbierl in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 03-22-2007, 05:41 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