+ Reply to Thread
Results 1 to 5 of 5

Returning number from different sheet with VLOOKUP

  1. #1
    Registered User
    Join Date
    03-22-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    63

    Returning number from different sheet with VLOOKUP

    Hi,

    I'm stuck on retrieving col_index_num from another sheet. With table_array everything is ok, it looks in Sheet2, but I can't seem to take column from Sheet2, it always takes it from Sheet1).
    Formula is in Sheet1:
    =VLOOKUP(A1; Sheet2!B1:B114; 1; FALSE)

    I want to take 1st column value where it finds that match from Sheet2

    Thanks for your advice.
    Last edited by drakaz; 03-07-2012 at 10:44 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,902

    Re: Returning number from different sheet with VLOOKUP

    Do you really want:

    =VLOOKUP(A1; Sheet2!A1:B114; 2; FALSE)

    or

    =INDEX(Sheet2!A1:A114;MATCH(A1; Sheet2!B1:B114; FALSE))
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Registered User
    Join Date
    03-22-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: Returning number from different sheet with VLOOKUP

    =INDEX(Sheet2!A1:A114;MATCH(A1; Sheet2!B1:B114; FALSE)) - this one, thanks!

    I really need to learn INDEX function...

  4. #4
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,902

    Re: Returning number from different sheet with VLOOKUP

    Here is a great place to learn: http://www.contextures.com/xlfunctions03.html

  5. #5
    Registered User
    Join Date
    03-22-2011
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    63

    Re: Returning number from different sheet with VLOOKUP

    Thank you once more

+ 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