The information in this article applies to:
SUMMARY
In Microsoft Excel, to filter records in a list by using the Advanced
Filter command (Excel versions 5.0 or later) or to extract records in a
database (Excel versions 2.2, 3.0, and 4.0) that contain an exact match to
a text string, the text to be matched must be preceded by an equal sign in
the criteria range.
Microsoft Excel Versions 4.0 and LaterIn Microsoft Excel versions 4.0 and later, use the following format in the appropriate criteria cell
where "text string" is the string you want to match (without the quotation marks). NOTE: The syntax for Microsoft Excel versions 4.0 and later is simpler than in earlier versions of Microsoft Excel because you can use an apostrophe. Microsoft Excel Versions 2.2 and 3.0In Microsoft Excel versions 2.2 and 3.0 use the following format in the appropriate criteria cell
where "text string" is the string you want to match (WITH the quotation marks). MORE INFORMATION
To perform the same operation from a command macro, use the FORMULA
function to convert a cell with a text string (for example a cell
containing the text string "Roy") to an exact match criteria (such as the
criteria "=Roy").
where ACTIVE.CELL is the cell containing the text string ("Roy" in the example above) in the criteria range. In Microsoft Excel 2.20 and 3.0, use the following formula
where ACTIVE.CELL is the cell containing the text string ("Roy" in the example above) in the criteria range. If the criteria is entered as "text string" without the equal sign, Microsoft Excel will extract all records that contain the text string at the beginning of the record. For example, "Roy," "Royale," and "Royette" all meet the criteria of "Roy." REFERENCES
"Microsoft Excel User's Guide 1," version 4.0, pages 340-343 Additional query words: 2.0 2.00 2.01 2.1 2.10 2.2 2.20 2.21 3.0 5.00a 5.00c 7.00a 97 98
Keywords : |
Last Reviewed: March 30, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |