+ Reply to Thread
Results 1 to 6 of 6

vlookup() returning N/A question

  1. #1
    Registered User
    Join Date
    03-27-2008
    Posts
    5

    vlookup() returning N/A question

    Hello I have a very basic vlookup function. One table, two columns, 5records. Vlookup inop

    I am attaching a screen shot jpeg which displays the problem:

    Any idaes are greatly appreciated.
    Attached Images Attached Images

  2. #2
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: vlookup() returning N/A question

    The N/A just means that what you are looking for is not in the list.

    If you don't want to see that, then try:

    Please Login or Register  to view this content.
    Would you like to say thanks? Please click the: " Add Reputation" button, on the grey bar below the post.

  3. #3
    Registered User
    Join Date
    03-27-2008
    Posts
    5

    Re: vlookup() returning N/A question

    Quote Originally Posted by ConneXionLost View Post
    The N/A just means that what you are looking for is not in the list.

    If you don't want to see that, then try:

    Please Login or Register  to view this content.
    I know what it means, take a look at the screenshot my value is definitely on the list?

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: vlookup() returning N/A question

    If you want to lookup E2 in column C and return the value from column B then you can't do that with VLOOKUP, try INDEX/MATCH, i.e.

    =INDEX(B8:B12,MATCH(E2,C8:C12,0))

  5. #5
    Forum Expert ConneXionLost's Avatar
    Join Date
    03-11-2009
    Location
    Victoria, Canada
    MS-Off Ver
    2010
    Posts
    2,952

    Re: vlookup() returning N/A question

    Sorry, I misunderstood your question.

    VLOOKUP looks for a match in the "leftmost" column of a table.

    You might try reversing your columns.

    (Or try daddylonglegs' solution).

  6. #6
    Registered User
    Join Date
    03-27-2008
    Posts
    5

    Re: vlookup() returning N/A question

    Horrayy for forums.

    Thanks a bunch for the information guys. It is very appreciated.

+ 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