+ Reply to Thread
Results 1 to 4 of 4

Matching ID numbers from different spread sheets

  1. #1
    Registered User
    Join Date
    05-24-2012
    Location
    Raleigh
    MS-Off Ver
    Excel 2007
    Posts
    2

    Matching ID numbers from different spread sheets

    I have two different spreadsheets, each contains a list of sample ID's (numerical) with data corresponding to each ID in the subsequent columns to the right. All of the ID's are in spreadsheet 1, and only some of them are in spreadsheet 2. I need to be able to transfer and match what ID's are present from spreadsheet 2 into spreadsheet 1, along with the information from the spreadsheet 2 columns next to the ID's. Any help with this issue would be greatly appreciated.


    Thanks,
    Zav

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Matching ID numbers from different spread sheets

    You can use vlookup. If all the IDs are in column A, in column B in spreadsheet 1, use this formula

    =vlookup(A2,Sheet2!A:B,2,0)

    considering that the data that you require is in Sheet2 column B of the same file.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    05-24-2012
    Location
    Raleigh
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Matching ID numbers from different spread sheets

    Thank you very much, I was able to use this. There are 2 columns of data next to the ID's in spreadsheet 2, how can you write a formula to bring multiple columns over.

    Thanks so much!

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Matching ID numbers from different spread sheets

    Repeat the same formula, just change the range and the number of the column to be brought over.

+ 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