+ Reply to Thread
Results 1 to 4 of 4

Problem with Vlookup function

  1. #1
    Registered User
    Join Date
    11-24-2007
    Posts
    4

    Problem with Vlookup function

    I keep track of winning lottery numbers. Created a spreadsheet that looks up the last date a number was drawn therefore the list is descending order. Vlookup will work if the number drawn is in the 1st column. Vlookup will NOT work if the number drawn is in the 2nd column.

    What is wrong with the formula on the right?

    Thanks!
    Attached Images Attached Images

  2. #2
    Forum Contributor EdMac's Avatar
    Join Date
    01-23-2006
    Location
    Exeter, UK
    MS-Off Ver
    2003
    Posts
    1,264
    Hi,

    VLOOKUP will not search to the left of the match - only the right. You need to use index and match if you go that way. Alternatively re-order your columns

    Ed

  3. #3
    Forum Contributor
    Join Date
    03-14-2006
    Location
    Pakistan
    Posts
    1,791

    Lightbulb

    Quote Originally Posted by crimewatcher
    I keep track of winning lottery numbers. Created a spreadsheet that looks up the last date a number was drawn therefore the list is descending order. Vlookup will work if the number drawn is in the 1st column. Vlookup will NOT work if the number drawn is in the 2nd column.

    What is wrong with the formula on the right?

    Thanks!
    See how combination of INDEX/MATCH works.

    http://contextures.com/xlFunctions03.html

  4. #4
    Registered User
    Join Date
    11-24-2007
    Posts
    4
    Quote Originally Posted by starguy
    See how combination of INDEX/MATCH works.

    http://contextures.com/xlFunctions03.html
    Thanks Starguy and Ed!

+ 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