XL: VLOOKUP & HLOOKUP May Return #N/A ErrorLast reviewed: February 2, 1998Article ID: Q153591 |
The information in this article applies to:
SYMPTOMSIf you use a text string as the lookup value in a VLOOKUP worksheet function, you may receive the #N/A error value. This error will also occur with the HLOOKUP function.
CAUSEThe versions of Microsoft Excel mentioned above, do not automatically detect headers from a lookup table and strip them out. Therefore, when you specify the lookup range argument, do not include column headings in the selection. Or, or use the INDEX and MATCH function, instead.
WORKAROUNDTo work around this problem, do not include the headers in the lookup range argument as demonstrated below.
Example Using VLOOKUP
Example Using HLOOKUP
STATUSMicrosoft has confirmed this to be a problem in the versions Microsoft Excel mentioned above. This problem has been corrected in Microsoft Excel for Windows 95, version 7.0.
MORE INFORMATIONFor additional information, please see the following article in the Microsoft Knowledge Base:
ARTICLE-ID: Q113261 TITLE : Unexpected Results with Mixed Text and Numbers in Lookup Table ARTICLE-ID: Q77114 TITLE :Performing a Lookup with Unsorted Data in Excel |
Additional query words: 4.00 4.00a 5.00 5.00a 5.00c
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |