The information in this article applies to:
SYMPTOMS
In Microsoft Excel, when you extract data from a list, you may receive
unexpected results if your list contains numbers that are entered as text
strings (by preceding the number with an apostrophe).
CAUSEIf the criteria is entered as a text string and not as part of the computed criteria, Microsoft Excel extracts all records that contain the text string at the beginning of the record even if that record is a numeric value. RESOLUTIONTo filter records in a list when the list contains an exact match to a numeric value entered as a text string, use computed criteria. For example, if you are working with data that resembles the following
type the following information into cells C1:C2 of the Criteria Range in
the example above:
NOTE: The criteria name in the first row of the criteria range (cell C1)
can be any name except the name of a database field; if you use the name of
a database field, Microsoft Excel interprets the criteria as comparison
criteria. You can also leave the cell blank.
Additional query words: XL98
Keywords : kbdta xllist |
Last Reviewed: January 13, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |