+ Reply to Thread
Results 1 to 7 of 7

Combining Data from multiple sheets, plus tracking?

  1. #1
    Registered User
    Join Date
    11-16-2008
    Location
    USA
    Posts
    27

    Combining Data from multiple sheets, plus tracking?

    I'm learning so much as a member! Thanks everyone.

    Here's my current question - I don't believe this is a difficult one, but what do I know?!

    In Sheet1, I have ColA through ColH with data. In Sheet2, I have ColA through ColAA with data.

    Now, I need to create a new sheet that combines the two based on values in ColC on both sheets. I upwards of 10K rows on each sheet.

    I'll attach a (significantly shortened) example as a reply. I can't mess this one up - very important, lol.

    Also, would there be an easy way to kick out a second sheet for at least sheet2 that adds a field with yes or no, to indicate if a match was found from Sheet1?

    Any help!? Thanks!
    Last edited by mocp2008; 11-26-2008 at 06:38 PM. Reason: Needed descriptive title

  2. #2
    Registered User
    Join Date
    11-16-2008
    Location
    USA
    Posts
    27
    Here's the example.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-16-2008
    Location
    USA
    Posts
    27
    I just realized that it would probably be better to revise this a bit. Lets say that sheet2 has column A filled with "Yes" or "No"s. If, "No" then find the same on the other sheet, as described. The resulting page to kick out would then retain that same formatting, except anything that copied over would turn to "Yes" on the new sheet, and could be reused.

    Does that make sense?

  4. #4
    Registered User
    Join Date
    11-16-2008
    Location
    USA
    Posts
    27
    Anyone? I'd very much appreciate any ideas! Thanks.

  5. #5
    Valued Forum Contributor
    Join Date
    09-19-2008
    Location
    It varies ...
    MS-Off Ver
    Office365 - 64bit
    Posts
    862
    Here you go ...
    Please Login or Register  to view this content.
    Hope that helps.
    Attached Files Attached Files
    MatrixMan.
    --------------------------------------
    If this - or any - reply helps you, remember to say thanks by clicking on *Add Reputation.
    If your issue is now resolved, remember to mark as solved - click Thread Tools at top right of thread.

  6. #6
    Registered User
    Join Date
    11-16-2008
    Location
    USA
    Posts
    27
    Thanks for the reply. Unfortunately, I'm getting the following error:

    Compile Error:
    Invalid use of Me keyword

    indicating an error on
    Please Login or Register  to view this content.
    Last edited by VBA Noob; 11-30-2008 at 08:38 AM. Reason: Added code tags as per forum rules

  7. #7
    Valued Forum Contributor
    Join Date
    09-19-2008
    Location
    It varies ...
    MS-Off Ver
    Office365 - 64bit
    Posts
    862
    It's probably because you've moved the code to a module rather than leaving it embedded in the results sheet ... if you want to do this, then replace "me" with "Worksheets(strResultsSheet)" and you'll need to create a constant or variable for strResultsSheet = the name of the sheet you want the results to display ...

+ 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