Excel: LOOKUP, HLOOKUP, VLOOKUP Return Incorrect ValuesLast reviewed: August 20, 1995Article ID: Q24659 |
The information in this article applies to:
SUMMARYThe Microsoft Excel LOOKUP, HLOOKUP, and VLOOKUP functions will return incorrect values if the "lookup_vector" argument is not sorted in ascending order.
MORE INFORMATION"lookup_vector" is the second argument of the LOOKUP function:
LOOKUP(lookup_value,lookup_vector,result_vector)"lookup_vector" is the first row of the table_array (second) argument of the HLOOKUP function:
HLOOKUP(lookup_value,table_array,row_index_num)"lookup_vector" is the first column of the table_array (second) argument of the VLOOKUP function:
VLOOKUP(lookup_value,table_array,col_index_num) REFERENCES"Microsoft Excel Function Reference," version 4.0, pages 221-222, 264-265, 450-451 "Microsoft Excel Function Reference," version 3.0, pages 123, 145-146, 246-247 "Microsoft Excel Functions and Macros," version 2.2, pages 41-42, 55-56
|
KBCategory: kbusage
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |