+ Reply to Thread
Results 1 to 5 of 5

Odd VLOOKUP failure

  1. #1
    Registered User
    Join Date
    07-12-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    2

    Odd VLOOKUP failure

    Hi all,

    I am trying to lookup some values from a table on a different sheet. I've used VLOOKUP before and never had any issues with it. But now, for some of the lookup values, I get a N/A error. I've checked to make sure that the numbers are indeed numbers: 1) by recreating both lookup values and the table values on a different column and pasting the values 2) by multiplying the values by 1.

    I just don't get it. I'm beginning to suspect a bug in Excel which if it exists would be very catastrophic. Am I missing something or is there something wrong with excel or my workbook?

    Regards,
    Ali
    Attached Files Attached Files

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,085

    Re: Odd VLOOKUP failure

    i have done a text to columns on the lookup values as for some reason they are not seen correctly

    if you click on a value in column A Contours - it then works
    so click on column A
    data> text to columns > delimited>next>next>leave on general format and finish

    now most will work
    0.08
    on the table is
    0.0800000000000001
    so fails

    and for 0.35
    if i do a round (=ROUND(B53*$D$11,2) in C53 it works OK - so I suspect a decimal place issue

    you may want to round all the values

    see attached sheet
    Attached Files Attached Files
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Registered User
    Join Date
    07-12-2013
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: Odd VLOOKUP failure

    Thanks Wayne. I used the text to column method but some of the numbers had a 000000000000001 at the end which through everything off. So I then rounded the numbers and then copy-paste the values over top. Now it works as it should. I'm still not sure how it happened, but I'm glad it worked.

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,598

    Re: Odd VLOOKUP failure

    The reason for the 000000000001 is explained here

  5. #5
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,085

    Re: Odd VLOOKUP failure

    your welcome

+ 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