+ Reply to Thread
Results 1 to 3 of 3

How to search value in external workbook if a match then return value

Hybrid View

Lilbird8 How to search value in... 02-22-2009, 08:41 PM
martindwilson Re: How to search value in... 02-22-2009, 09:21 PM
Lilbird8 Re: How to search value in... 02-23-2009, 12:02 AM
  1. #1
    Registered User
    Join Date
    02-22-2009
    Location
    Glendale, AZ
    MS-Off Ver
    Excel 2003
    Posts
    2

    How to search value in external workbook if a match then return value

    User enters ID # in cell I2 in workbook "Eval_Rprt_02-33" I need it to compare values in second workbook "Eval_log" if IDs match then return "Date performed" from column "F" and auto enter it into cell G2 in Eval_Rprt_02-33. Do both the workbooks have to be stored in the same folder and do they both have to open at the same time? Not an advanced user in macros or VB.

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: How to search value in external workbook if a match then return value

    vlookup will look in closed workbook, it doesnt have to be in same folder.
    but needs the path.
    easiest way is to construct your vlookup with both books open
    on first book insert/function/vlook up
    when you get to fill in the "table array" part click in it,then click second workbook
    select the field you want with the cursor
    enter the column number manualy
    in range_lookup enter false
    click ok
    this will now be linked.
    i am assuming you know how to use vlookup!
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  3. #3
    Registered User
    Join Date
    02-22-2009
    Location
    Glendale, AZ
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: How to search value in external workbook if a match then return value

    Thank you for your quick reply. No I have not used vlookup and when I tried to use the Lookup Wizard from the tools menu it said to click Add-ins then select the Lookup Wizard. I get the message Microsoft Excel cannot access the file lookup.xla and I am trying to find out why.

+ 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