+ Reply to Thread
Results 1 to 3 of 3

Merge two workbooks. Copy column data based on numerical ID match of another column.

  1. #1
    Registered User
    Join Date
    03-03-2009
    Location
    Gainesville, FL
    MS-Off Ver
    Excel 2002 SP3
    Posts
    39

    Merge two workbooks. Copy column data based on numerical ID match of another column.

    I am trying to get excel to search a workbook/(or worksheet if easier) for a matching unique value and fill in its associated data.

    My first workbook has the SKU (A) filled in but not the UPC (B).
    My second workbook has both the SKU (A) and the matching UPC (C) filled in.

    I need to take both workbooks/(worksheets), compare the SKUs, and if a matching SKU is found, extract the UPC from Workbook 2 and fill in the UPC field in Workbook 1, and if no UPC is present in Workbook 2, then it leaves the cell in Workbook 1 blank.

    Thanks in advance for all your help guys.
    Chris
    Last edited by giallofever; 03-16-2009 at 12:27 PM. Reason: Clarification, Revision

  2. #2
    Registered User
    Join Date
    03-03-2009
    Location
    Gainesville, FL
    MS-Off Ver
    Excel 2002 SP3
    Posts
    39

    Re: Merge two workbooks. Copy column data based on numerical ID match of another colu

    I found something similar, but instead of worksheets, i was hoping for workbooks. But I can import the other workbook into a 2nd worksheet. I am hoping that at some point I can automate the whole process.

    http://www.excelforum.com/excel-work...ion-merge.html

    Thanks,
    Chris

  3. #3
    Registered User
    Join Date
    03-03-2009
    Location
    Gainesville, FL
    MS-Off Ver
    Excel 2002 SP3
    Posts
    39

    Re: Merge two workbooks. Copy column data based on numerical ID match of another colu

    I finally solved this problem. Still trying to figure out how to do this with workbooks, but this does the job.

    =INDEX(Sheet2!A:C,MATCH(A2,Sheet2!A:A,0),3)

    Problem SOLVED!
    Last edited by giallofever; 03-16-2009 at 12:28 PM. Reason: Added formula

+ 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