The information in this article applies to:
SYMPTOMSThe Microsoft Excel 98 Macintosh Edition lookup functions VLOOKUP(), HLOOKUP(), and LOOKUP() may return incorrect results if the lookup vector is the result of a formula. CAUSEThe incorrect result may be caused by a rounding error due to the use of the IEEE 754 floating-point standard. The IEEE 754 standard is a method of storing floating-point numbers in a compact way that is easy to manipulate. WORKAROUNDTo work around this problem, do either of the following:
-or- STATUSThis is by design of Microsoft Excel 98 Macintosh Edition. MORE INFORMATION
To see an example of this issue, do the following.
With the formula in A18, you would expect an exact match to be found in A3,
which would return the value 3 (from cell B3); however, VLOOKUP() returns
the value 2 (from cell B2).
To return the expected value of 3, change your formula in A2 to the following formula: =ROUND(A1+0.1,2)Then, fill this formula down to cell A16. For additional information, please see the following article in the Microsoft Knowledge Base: Q78113 XL: Floating-Point Arithmetic May Give Inaccurate Results Additional query words: XL98
Keywords : kbdta xlformula |
Last Reviewed: January 13, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |