+ Reply to Thread
Results 1 to 9 of 9

Vlookup reversed

  1. #1
    Registered User
    Join Date
    08-23-2007
    Posts
    47

    Vlookup reversed

    Hello Gurus and other Excel enthusiasts,

    Can you use VLOOKUP to search for something in a column to the left of the reference.
    As opposed to the right which is the norm.

    Thanks

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,433

    Re: Vlookup reversed

    You can either use LOOKUP or INDEX/MATCH.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Vlookup reversed

    VLOOKUP can't do that...but, the standard approach is to use INDEX/MATCH
    This regular formula finds the value of C1 in Col_B and returns the corresponding value from Col_A
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Does that head you in the right direction?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Vlookup reversed

    Quote Originally Posted by telton View Post
    Hello Gurus and other Excel enthusiasts,

    Can you use VLOOKUP to search for something in a column to the left of the reference.
    As opposed to the right which is the norm.

    Thanks
    Yes, you can. This would require to a combination of VLOOKUP and CHOOSE functions.

    =VLOOKUP(A8,CHOOSE({1,2},$B$2:$B$5,$A$2:$A$5),2,0)


    A
    B
    1
    2
    Apple iPad
    3
    Microsft Windows
    4
    Samsung Galaxy 3
    5
    Amazon Fire HD
    6
    7
    8
    iPad Apple
    9
    Windows Microsft
    10
    Galaxy 3 Samsung
    11
    Fire HD Amazon
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  5. #5
    Registered User
    Join Date
    08-23-2007
    Posts
    47

    Re: Vlookup reversed

    Thank you all!

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Vlookup reversed

    You're welcome. Don't forget to thank those who helped by clicking on Add Reputation * and please mark thread as "Solved" if your issue has been resolved. (Selecting Thread Tools-> Mark thread as Solved).

  7. #7
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Vlookup reversed

    Thanks for the feedback!

  8. #8
    Registered User
    Join Date
    08-23-2007
    Posts
    47

    Re: Vlookup reversed

    Thanks and have done Alkey.

    Cheers

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,433

    Re: Vlookup reversed

    Thanks for the rep

+ 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. Operators reversed
    By jacksonville in forum Excel General
    Replies: 2
    Last Post: 12-14-2009, 06:57 PM
  2. day and month is reversed in .txt file
    By MrPez in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 09-18-2009, 08:15 AM
  3. vlookup reversed
    By market man in forum Excel General
    Replies: 2
    Last Post: 02-07-2007, 10:56 AM
  4. [SOLVED] columns reversed
    By lou in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-14-2006, 12:45 PM
  5. [SOLVED] reversed columns
    By Vulcan in forum Excel General
    Replies: 2
    Last Post: 06-29-2005, 10:05 AM

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