+ Reply to Thread
Results 1 to 8 of 8

Attempting to use Vlookup, but it is not returning a value.

  1. #1
    Registered User
    Join Date
    04-09-2013
    Location
    US
    MS-Off Ver
    Office 2010, amd 365
    Posts
    30

    Attempting to use Vlookup, but it is not returning a value.

    Hello,

    I am attempting to have a vlookup show a value from a list.

    In theory, the top three rows will show a person name that matches the coresponding value from colum E.

    I have searched, and everything states this formula should work.

    =VLOOKUP(B2,B10:E24,1,FALSE)

    I am using 2013 for this workbook.

    thanks

    Kent
    Attached Files Attached Files

  2. #2
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Attempting to use Vlookup, but it is not returning a value.

    I believe you want your formulas to be

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  3. #3
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Attempting to use Vlookup, but it is not returning a value.

    Try this in C2 and fill down:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    - Moo

  4. #4
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Attempting to use Vlookup, but it is not returning a value.

    I am unable to open the attachment in Excel 2010. Despite the "xlsx" extension (or because of it!), Excel complains that the file content is unreadable. On a whim, I tried changing the extension to "xls", "xlsm" and "xlsb", to no avail.

    So please remove and re-attach a valid Excel file.

    -----

    Aside.... I suspect that your title is misleading.

    If =VLOOKUP(...) is recognized as a formula, it always returns a value; just perhaps not what you expect. Even #N/A is "a value".

    So, please explain the value (result) that the formula does return.

    On the other hand, if the cell displays "=VLOOKUP(B2,B10:E24,1,FALSE)" literally, please state that more clearly. That might be a problem with the cell format (Text once, if not now).

    -----

    Another observation.... =VLOOKUP(B2,B10:E24,1,FALSE) either returns the value in B2 (if it matches a value in B10:B24) or #N/A (if it does not match a value in B10:B24).

    I'm not clear on how that relates to the fact that: ``the top three rows will show a person name that matches the coresponding value from colum E``.

    In other words, you might not have designed the VLOOKUP expression correctly, in the first place.

    I wonder if that is what you mean by it is ``not returning a value``.

    If you need help with the formula design, please provide the values of the referenced cells. If they are calculated, please show the values with 15 significant digits (which might be different from 15 decimal places).
    Last edited by joeu2004; 09-27-2019 at 07:08 PM.

  5. #5
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Attempting to use Vlookup, but it is not returning a value.

    I got a message saying the file was corrupt and was offered the option of Excel repairing the file. It seemed to work but that's on Office 365.

    Here's the repaired copy with the formulas I used. The OP's formulas were

    =VLOOKUP(B2,B10:E24,1,FALSE)

    and

    =VLOOKUP(F2,B10:E24,1,FALSE)
    Last edited by FlameRetired; 09-27-2019 at 07:20 PM.

  6. #6
    Registered User
    Join Date
    04-09-2013
    Location
    US
    MS-Off Ver
    Office 2010, amd 365
    Posts
    30

    Re: Attempting to use Vlookup, but it is not returning a value.

    Moo the Dog, that worked.

    I was attempting to get the Name to be displayed.

    I apologize stating no value was returned. I had the spreadsheet set to blank NA values. So it was not showing anything until I changed the fill color to display the NA.

    I appreciate everyone taking the time to help.

    Kent

  7. #7
    Forum Expert
    Join Date
    05-01-2014
    Location
    California, US
    MS-Off Ver
    Excel 2010
    Posts
    1,795

    Re: Attempting to use Vlookup, but it is not returning a value.

    Quote Originally Posted by FlameRetired View Post
    I got a message saying the file was corrupt and was offered the option of Excel repairing the file. It seemed to work but that's on Office 365.
    Thanks. I was just in the process of PMing you. I, too, was offered the option to "recover" the file. I never trust Excel to do that well. But after seeing your response, I tried it. Excel indicates that it removed some content. But I guess there is enough there.

    You seem to be on top of it. So I'll step back.

    (The OP explains why I could not see the #N/A error until I clear formats.)

  8. #8
    Forum Expert Moo the Dog's Avatar
    Join Date
    09-28-2012
    Location
    Wisconsin
    MS-Off Ver
    Office 365 (PC & Mac)
    Posts
    1,845

    Re: Attempting to use Vlookup, but it is not returning a value.

    Glad to help.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. And if you feel like leaving some rep points for anyone who helped, feel free to click on the * Add Reputation * link on a post of the person who helped! Thanks.

    - Moo

+ 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 returning #N/A as value
    By dishmanb in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-12-2017, 04:59 AM
  2. Question on VLookUp; Attempting to retrieving data from another sheet reference adjustment
    By PivotTablePSHomage in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-26-2015, 12:27 AM
  3. Attempting to find solution beyond Vlookup
    By 4324downs in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 12-31-2014, 07:49 AM
  4. Attempting to sum values using VLOOKUP
    By alexskinner in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-03-2014, 03:10 AM
  5. Using vLookup based on results from a vLookup & returning an undetermined list
    By NormalityBan in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 08-14-2014, 05:02 AM
  6. Replies: 3
    Last Post: 01-23-2014, 01:30 PM
  7. vlookup returning #value!
    By stirling in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-12-2009, 12:22 AM

Tags for this Thread

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