+ Reply to Thread
Results 1 to 4 of 4

Vlookup not working

  1. #1
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Vlookup not working

    How come the yellow formulas don't work.
    Attached Files Attached Files
    Last edited by Xx7; 07-05-2011 at 05:31 PM.

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

    Re: Vlookup not working

    With Vlookup, the match has to occur in the left-most column of the table, and return from columns to the right.

    Try this alternative:

    =INDEX($E$18:$E$25,MATCH(A18,$F$18:$F$25,0))

    copied down
    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
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,885

    Re: Vlookup not working

    Hi Xx7,

    Is this a serious question? If so, what exactly -- in words -- are you trying to do?

    Based on how VLOOKUP works, and the sample spreadsheet you provided, it appears you're trying to lookup the value in A18 in column E, and then return that value from column E. Something is amiss.

    Are you actually trying to lookup the value in A18 in column F, and return the corresponding value from column E? If so, you can't use VLOOKUP as that only looks Left-to-Right. Instead try an INDEX/MATCH, e.g.

    =INDEX($E$18:$E$25,MATCH(A18,$F$18:$F$25,0))

    Hope that helps!

  4. #4
    Forum Contributor
    Join Date
    01-30-2011
    Location
    Vancouver, Canada
    MS-Off Ver
    Excel 2010
    Posts
    604

    Re: Vlookup not working

    Good, thanks! I didn't realize the lookup starts from the left most column.

+ 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