The information in this article applies to:
SYMPTOMSIn Microsoft Excel, when you use the VLOOKUP and HLOOKUP functions, the incorrect value or #VALUE error message is returned if Transition Formula Evaluation (TFE) (Excel version 5.0 or later) or Alternate Expression Evaluation (AEE) is selected (Excel version 4.0). CAUSEVLOOKUP and HLOOKUP return the index in the lookup array instead of the value at that index if TFE or AEE is selected and the col_index_num (row_index_num for HLOOKUP()) argument is set to 1. WORKAROUND
To return the correct value when you use the VLOOKUP or HLOOKUP function,
disable TFE or AEE by using one of the following methods.
Microsoft Excel Versions 5.0 and LaterTo disable Transition Formula Evaluation, follow these steps:
Microsoft Excel Version 4.0To disable Alternate Expression Evaluation, follow these steps:
MORE INFORMATION
Transition Formula Evaluation and Alternate Expression Evaluation are
options designed to allow for differences between the way Microsoft Excel
and Lotus 1-2-3 evaluate expressions. This option is automatically enabled
when you open a Lotus 1-2-3 worksheet in Microsoft Excel.
ExampleTo use this example, enter the following data:
The formula =VLOOKUP("Blue",A1:B3,1) returns the value 0 (array index to cell A1) if TFE or AEE is enabled and the value "Blue" if TFE or AEE is not enabled. NOTE: Array indexes start with 0 so the index to A1 is 0, A2 is 1, and so on. REFERENCES
"Microsoft Excel User's Guide 1," version 4.0, page 57
Additional query words: 5.00a 5.00c 7.00a 97 98 XL98 XL97 XL7 XL5 XL4
Keywords : kb3rdparty |
Last Reviewed: December 17, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |