+ Reply to Thread
Results 1 to 5 of 5

Excel 2007 : 2 workbooks, 1 common ref number, need to find other data...

  1. #1
    Registered User
    Join Date
    08-18-2011
    Location
    Melbourne Australia
    MS-Off Ver
    Excel 2003
    Posts
    2

    2 workbooks, 1 common ref number, need to find other data...

    Please help me! I have two large workbooks, both books have one ID number in common. Using the ID number from workbook A, I need to look up that ID number in workbook B, then retrieve a secondary reference number. I have used a Vlookup, but found it was finding the closest match, I need an exact match! It's driving me crazy, when I sound it out it seems simple, eg IF A1 (from workbook1) can be found in Column B (workbook 2) please give me answer from Column E (workbook 2). Not all the ID numbers from workbook 1 are found in workbook 2. Any ideas? Many thanks.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: 2 workbooks, 1 common ref number, need to find other data...

    Hi

    VLOOKUP gives an exact match as follows =VLOOKUP(A1,B1:C200,2,0)

  3. #3
    Registered User
    Join Date
    08-18-2011
    Location
    Melbourne Australia
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: 2 workbooks, 1 common ref number, need to find other data...

    Thanks for your response, I have tried the formula but keep getting #N/A

  4. #4
    Registered User
    Join Date
    08-22-2011
    Location
    Liverpool, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: 2 workbooks, 1 common ref number, need to find other data...

    Hi

    Try adding 'FALSE' to the end of your formula, that should return only exact matches.

    =VLOOKUP(A1,B1:C200,2,FALSE)

    Phil

  5. #5
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: 2 workbooks, 1 common ref number, need to find other data...

    Quote Originally Posted by mill View Post
    Thanks for your response, I have tried the formula but keep getting #N/A

    This means that there was no correspondence
    Did you add the absolute addressing for the lookup range before pulling down?

    =VLOOKUP(A1,$B$1:$C$200,2,0)

+ 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