+ Reply to Thread
Results 1 to 3 of 3

Compare Column C Workbook A with Workbook B, Column C across multipal Worksheets

  1. #1
    Registered User
    Join Date
    02-08-2013
    Location
    St Petersburg, FL
    MS-Off Ver
    Excel 2010
    Posts
    19

    Compare Column C Workbook A with Workbook B, Column C across multipal Worksheets

    I’m lost. I haven’t been able to locate a thread that could help me with this. Any help would be greatly appreciated.
    I have two workbooks. Workbook A has a list of numbers in column C of Sheet1. Workbook B has these same numbers in column C but spread over different worksheets (Feb through June). What I need to do is create a macro that will go through the list of numbers in Workbook A column C and locate which worksheet it resides in, in workbook B and put the name of the worksheet / month in Workbook A in column G in the same row as the corresponding number. (I have put the name of each worksheet in column I row 1 of each worksheet so a copy and paste would work) I have attached an example.
    Thanks again!
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    06-27-2013
    Location
    Houghton, MI
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Compare Column C Workbook A with Workbook B, Column C across multipal Worksheets

    Here's a short macro that should do what you want. If you are going to have a different name for workbook B then you will have to change that in the macro. Also, you will have to have both workbooks open in the same instance of excel, this won't open up workbook B by itself. Otherwise it should work perfectly for you!

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    02-08-2013
    Location
    St Petersburg, FL
    MS-Off Ver
    Excel 2010
    Posts
    19

    Re: Compare Column C Workbook A with Workbook B, Column C across multipal Worksheets

    Thank you McNitz. This worked perfectly!!

+ 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