+ Reply to Thread
Results 1 to 5 of 5

VLOOKUP Reading Backwards?

  1. #1
    Registered User
    Join Date
    12-05-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2

    VLOOKUP Reading Backwards?

    Hi I was just wondering is there a way for the VLOOKUP function to read backwards in a table? At the moment I have had to create the same table twice but with the columns switched round to be able to get the VLOOKUP function to work properly.
    The image on the left is the table_array I am looking the value up in, and the second column with L and the numbers in is the result I am getting.
    excel help.PNG

    The only way I have found to fix this is to create another table which has Values on the left and Letters on the right, but this looks messy and isn't very efficient, so I was wondering if there's a way for VLOOKUP or another function to find a value which is 1 column back from the value being looked up?

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: VLOOKUP Reading Backwards?

    You can use an INDEX/MATCH combination, eg:

    =INDEX(A:A,MATCH(C1,B:B,0))

    where your table is in columns A and B, and you need to find where C1 matches column B.

    Hope this helps.

    Pete

  3. #3
    Forum Expert Ace_XL's Avatar
    Join Date
    06-04-2012
    Location
    UAE
    MS-Off Ver
    2016
    Posts
    6,074

    Re: VLOOKUP Reading Backwards?

    If you insist on a Vlookup..

    Please Login or Register  to view this content.
    Life's a spreadsheet, Excel!
    Say thanks, Click *

  4. #4
    Registered User
    Join Date
    12-05-2012
    Location
    England
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: VLOOKUP Reading Backwards?

    Quote Originally Posted by Pete_UK View Post
    You can use an INDEX/MATCH combination, eg:

    =INDEX(A:A,MATCH(C1,B:B,0))

    where your table is in columns A and B, and you need to find where C1 matches column B.

    Hope this helps.

    Pete
    So are A:A and B:B the same table which the lookup value is in?

  5. #5
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,704

    Re: VLOOKUP Reading Backwards?

    Column B is where your Values are (refering to your picture) so this is the lookup column, and column A is where the Letter occurs, so this is the value that you want to return if C1 (the lookup value) matches with column B. Next time attach an Excel workbook rather than a picture, so we can give you a formula specific to the way your data is set up.

    Hope this helps.

    Pete

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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