+ Reply to Thread
Results 1 to 2 of 2

Problems with VLOOKUP

  1. #1
    Registered User
    Join Date
    03-18-2016
    Location
    Manchester, England
    MS-Off Ver
    2013
    Posts
    1

    Problems with VLOOKUP

    Hi,

    I am having problems with vlookup when using using values in a table column and looking up a calculated value. Weirdly it is ok on some rows but not on others.

    I have trimmed it down to the bare basics:

    In row 2 I have: A '3' B '25' C '=A2+B2/100+0.001' D '=VLOOKUP(C2,$F$2:$G$7,2,FALSE)' F '3.251' G '1'
    In row 3 I have: A '3' B '30' C '=A3+B3/100+0.001' D '=VLOOKUP(C3,$F$2:$G$7,2,FALSE)' F '3.301' G '2'

    Cell D2 correctly shows '1' but cell D3 shows the error '#N/A'. Can anyone explain why?

    I though the problem might be to do with numbers stored as text but have tried using value(...) on the figures and it seems to make no difference.

    Thanks!!!!

    Jamie

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,873

    Re: Problems with VLOOKUP

    Change your formula in column C to =ROUND(A2+B2/100+0.001,3)

    then read this on floating point issues in Excel.

    https://support.microsoft.com/en-us/kb/214118
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. [SOLVED] Problems with VLOOKUP
    By Eric McGehee in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-20-2016, 05:28 PM
  2. Vlookup Problems
    By Excel Guy 123 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-02-2014, 03:49 AM
  3. [SOLVED] My problems with VLOOKUP
    By Zezima in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-13-2013, 03:34 PM
  4. vlookup problems
    By enceladus in forum Excel General
    Replies: 5
    Last Post: 02-14-2012, 04:52 AM
  5. Problems with Vlookup
    By ManFano in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-15-2011, 10:51 AM
  6. VLookup Problems
    By Pritch14 in forum Excel Formulas & Functions
    Replies: 38
    Last Post: 09-06-2005, 07:05 PM
  7. VLOOKUP : problems !
    By Gilbert De Ceulaer in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-27-2005, 04:06 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