+ Reply to Thread
Results 1 to 8 of 8

Why does VLOOKUP return #N/A when all values are there?

  1. #1
    Registered User
    Join Date
    10-07-2019
    Location
    Bryant, Arkansas
    MS-Off Ver
    MS Office 2013
    Posts
    12

    Why does VLOOKUP return #N/A when all values are there?

    My lookup value is in the spreadsheet I am referencing. I've changed all fields to text and I still get #N/A.
    Attached Files Attached Files

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Why does VLOOKUP return #N/A when all values are there?

    Try this formula:
    =VLOOKUP(TEXT(A16,"0"),'[Values for Lookup Formula.xlsx]Sheet2'!$A:$B,2,FALSE)
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

  3. #3
    Registered User
    Join Date
    10-07-2019
    Location
    Bryant, Arkansas
    MS-Off Ver
    MS Office 2013
    Posts
    12

    Re: Why does VLOOKUP return #N/A when all values are there?

    Now the formula =VLOOKUP(TEXT(A16,"0"),'[Values for Lookup Formula.xlsx]Sheet2'!$A:$B,2,FALSE) is sitting in the field. It returned no answer.

  4. #4
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Why does VLOOKUP return #N/A when all values are there?

    That's because "Text" formatting is carried over from previous cell/range. Select cell and change format to "General" and re-evaluate formula.

  5. #5
    Registered User
    Join Date
    10-07-2019
    Location
    Bryant, Arkansas
    MS-Off Ver
    MS Office 2013
    Posts
    12

    Re: Why does VLOOKUP return #N/A when all values are there?

    Thank you CK76, that did work. So for future reference. My fields need to be "General" when doing VLOOKUP? And if they are not I can use the "Text" Function to convert them?

  6. #6
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Why does VLOOKUP return #N/A when all values are there?

    Only when source (i.e. Lookup Range) has number stored as text. All other case, you can use simple cell reference.

  7. #7
    Registered User
    Join Date
    10-07-2019
    Location
    Bryant, Arkansas
    MS-Off Ver
    MS Office 2013
    Posts
    12

    Re: Why does VLOOKUP return #N/A when all values are there?

    Thank you.

  8. #8
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Why does VLOOKUP return #N/A when all values are there?

    You are welcome

    If you are satisfied with the solution provided. Please mark the thread as solved, using thread tools found at top of your initial post.

+ 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. Vlookup return multiple values horizontally for a list of values
    By lucipurr in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-07-2018, 11:00 AM
  2. Getting Sum of values from VLOOKUP return
    By alonkey in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-05-2016, 01:07 PM
  3. vlookup but return all values
    By ammartino44 in forum Excel General
    Replies: 2
    Last Post: 07-27-2015, 05:02 PM
  4. Replies: 13
    Last Post: 10-13-2014, 02:00 AM
  5. [SOLVED] Vlookup and return values along a Row
    By dabrad89 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-21-2012, 11:32 AM
  6. vlookup multiple values and return values
    By AMFISH in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-08-2012, 11:13 AM
  7. how to use vlookup to return 2 set of values
    By Zyphon in forum Excel General
    Replies: 10
    Last Post: 05-24-2007, 02:37 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