+ Reply to Thread
Results 1 to 7 of 7

Can vlookup for the value in left?

  1. #1
    Registered User
    Join Date
    01-04-2014
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    33

    Can vlookup for the value in left?

    Normally we using vlookup for the value in the right side.. i trying to get the value from the left.. any suggestion?
    Isaac Koh

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Can vlookup for the value in left?

    Hi Isaac,

    If you need to look to the left in a table of numbers, you need to use the Index Match construct instead of VLookup. You are correct that VLookup will only look to the right.

    http://exceluser.com/formulas/excels...-functions.htm tells more.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

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

    Re: Can vlookup for the value in left?

    use either index /match or vlookup like this =VLOOKUP(A1,CHOOSE({1,2},C1:C10,B1:B10),2,FALSE) which will look in c and return from b
    index match would be
    =index(b1:b10,match(a1,c1:c10,0))
    "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

  4. #4
    Registered User
    Join Date
    01-04-2014
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    33

    Re: Can vlookup for the value in left?

    Quote Originally Posted by martindwilson View Post
    use either index /match or vlookup like this =VLOOKUP(A1,CHOOSE({1,2},C1:C10,B1:B10),2,FALSE) which will look in c and return from b
    index match would be
    =index(b1:b10,match(a1,c1:c10,0))
    Martin, if my column C have several cell with the same value, may i call all the B cell value with the same C value?

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Can vlookup for the value in left?

    vlookup and index/match will only return the 1st match they find, and then stop looking
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Registered User
    Join Date
    01-04-2014
    Location
    Malaysia
    MS-Off Ver
    Excel 2010
    Posts
    33

    Re: Can vlookup for the value in left?

    Quote Originally Posted by isaackoh View Post
    Martin, if my column C have several cell with the same value, may i call all the B cell value with the same C value?
    Any vba code to help?

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: Can vlookup for the value in left?

    A formula will do this for you, upload a sample workbook

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Vlookup that looks to the left instead of right
    By controlfreak in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-08-2013, 10:22 AM
  2. VLOOKUP from right to left
    By rob.barnes01 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-25-2012, 01:28 PM
  3. Vlookup to the left
    By jpx in forum Excel General
    Replies: 3
    Last Post: 12-10-2009, 01:07 PM
  4. [SOLVED] Vlookup to the left
    By comparini3000 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 06-23-2006, 04:25 PM
  5. [SOLVED] VLOOKUP *Left* Value
    By jim in forum Excel General
    Replies: 4
    Last Post: 06-05-2006, 12:20 PM

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