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:
C1: ExactNumberNOTE: 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. REFERENCESExcel 97For more information about Advanced Filter criteria including computed criteria, click the Office Assistant, type advanced filter criteria, click Search, and then click to view "Examples of advanced filter criteria."NOTE: If the Assistant is hidden, click the Office Assistant button on the Standard toolbar. If Microsoft Help is not installed on your computer, please see the following article in the Microsoft Knowledge Base: Q120802 Office: How to Add/Remove a Single Office Program or Component Excel 5.0For more information about computed criteria, click the Search button in Help, and type:computed criteriaClick Show Topics, select the topic, and click Go To. Additional query words: 5.00a 5.00c 8.00 97 XL97 98 XL98 filter autofilter database
Keywords : kbdta xllist |
Last Reviewed: October 26, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |