+ Reply to Thread
Results 1 to 5 of 5

vlookup returns #N/A

  1. #1
    Registered User
    Join Date
    08-07-2008
    Location
    Northants, England
    Posts
    18

    vlookup returns #N/A

    Hi all, hope you can help 'cos this is driving me nuts.

    I use a lot of VLOOKUP formulae in the sheets i put together and, despite both the lookup value and table array being in the same format (usually text format), i often get an #N/A being returned.

    Here's the fun part... if i then do something simple like access the lookup value cell (either by double clicking or pressing F2) and then hit return, then the vlookup calculation suddenly returns the correct value.

    I'm convinced it's something to do with the way the cells are formatted but can't work out what. Anyone else come across this problem?
    Last edited by forcybo; 11-12-2008 at 06:53 AM. Reason: Query solved

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326
    Hi,
    can you post a sample of your data? There is probably a confusion between numbers and text ( even iif the format is identical)

  3. #3
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264
    Sounds like there's a mismatch between the way the cells are formatted and what Excel feels the value actually is (I take it these values are comprised entirely of numeric digits?). You can process the whole lot of values (rather than going to each cell individually with F2 and enter) by selecting the column and going Data>textToColumns>Finish.

    Richard
    Richard Schollar
    Microsoft MVP - Excel

  4. #4
    Valued Forum Contributor Shijesh Kumar's Avatar
    Join Date
    05-26-2008
    Location
    Bangalore / India
    MS-Off Ver
    2000
    Posts
    717
    Hi,

    Try this....

    Select the range containing the lookup value.
    Click on Data --> Text to column
    Click on radio button ( fixed width ) and then click on Finish.

    Do this for lookup values in both the sheets i.e. the sheet in which you are using vlookup formula and the sheet where the data is stored.

  5. #5
    Registered User
    Join Date
    08-07-2008
    Location
    Northants, England
    Posts
    18
    Perfect! Thank you guys.. this worked!!

+ 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