XL98: Incorrect LOOKUP() Results with Formula in Lookup_Vector (191114)
The information in this article applies to:
- Microsoft Excel 98 Macintosh Edition
This article was previously published under Q191114 SYMPTOMS
The 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.
CAUSE
The 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.
WORKAROUND
To work around this problem, do either of the following:
- Select the lookup vector, on the Edit menu click Copy. Then, click Paste
Special on the Edit menu, select the Values option in the Paste Special
dialog box, and click OK.
Note, this will remove your formulas and replace them with the values
returned by the formulas.
-or-
- Incorporate the ROUND() function in your formula.
Please see the "More Information" section of this article for a
demonstration of this issue.
STATUS
This is by design of Microsoft Excel 98 Macintosh Edition.
Modification Type: | Major | Last Reviewed: | 9/11/2002 |
---|
Keywords: | kbprb KB191114 |
---|
|