+ Reply to Thread
Results 1 to 7 of 7

vLOOKUP returning #NA until I double click in the lookup value cell

  1. #1
    Registered User
    Join Date
    08-15-2013
    Location
    London, Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    vLOOKUP returning #NA until I double click in the lookup value cell

    Example of formula:
    =VLOOKUP(B1644,Sheet2!$A$2:$A$3147,1,FALSE)

    The vlookup formula in cell A1644 is returning #NA.

    However, when I double click on cell B1644 (the lookup value from the formula) the result is shown correctly (not #NA).

    Does anyone know what would make this happen?

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: vLOOKUP returning #NA until I double click in the lookup value cell

    B1644 is probably a "number stored as text"

    Try copying a blank cell
    Highlight B1644
    right click - paste special - values - add

    You can do the whole column at once too..

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: vLOOKUP returning #NA until I double click in the lookup value cell

    Sounds like a data type mis-match and you tried to format the cell to fix it.

    The format doesn't change until you edit the cell by double clicking on it then the data types match.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    08-15-2013
    Location
    London, Canada
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: vLOOKUP returning #NA until I double click in the lookup value cell

    That was it! Thanks!

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: vLOOKUP returning #NA until I double click in the lookup value cell

    You're welcome.

  6. #6
    Registered User
    Join Date
    01-09-2018
    Location
    West Midlands, England
    MS-Off Ver
    2016
    Posts
    75

    Re: vLOOKUP returning #NA until I double click in the lookup value cell

    Hi

    I have this same problem and I've tried the above and it doesn't seem to make any difference?

    I import the data for my Lookup table from another sheet, I have tried pasting it all as values but it makes no difference.

    This is my formula:

    =VLOOKUP(F12,'Customer Database'!A2:F5000,2,FALSE)

    If F12 is a number (e..g 101000) it returns n/a. However if F12 begins with a letter (e.g. c123) it returns the correct information. Both the lookup table & the return document are set as general.

    Any ideas?

    Thanks

  7. #7
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: vLOOKUP returning #NA until I double click in the lookup value cell

    Unfortunately your post does not comply with Rule 2 of our Forum RULES. Do not post a question in the thread of another member -- start your own thread.

    If you feel an existing thread is particularly relevant to your need, provide a link to the other thread in your new thread.

    Old threads are often only monitored by the original participants. New threads not only open you up to all possible participants again, they typically get faster response, too.

+ 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. Double click in cell using VBA
    By Vuka in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-15-2020, 12:59 AM
  2. [SOLVED] Double Click in Cell
    By VonEpp in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 04-04-2012, 01:37 PM
  3. vlookup double click
    By dj_siek in forum Excel General
    Replies: 1
    Last Post: 04-09-2007, 09:40 PM
  4. vlookup: I have to double click each cell to get correct results?
    By gillyd in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-24-2006, 09:10 AM
  5. Replies: 4
    Last Post: 08-02-2005, 09:05 PM

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