Académique Documents
Professionnel Documents
Culture Documents
Wildcard characters can be used to carry out partial matching on a text string. Wildcard
characters can be used in formulas, conditional formatting, filtering, and Excels search and
replace feature.
The basic wildcard structure
There are three wildcard characters in excel as follows.
Wildcard
Description
Character
Asterisk (*) The asterisk character can take the place of several.
For instance, if you search for low* this matches lower, lowered, lowering,
and lowers.
Question The question mark character can take the place of a single.
Mark (?) For instance, if you search for b?g this matches big , bit , and bug.
Tilde (~) The tilde character cancels out/nullifies the other wildcard characters. It tells
Excel that the following character should be treated as a normal character and
not a wildcard. This is useful if you want to actually search for those wildcard
characters.
For example, "Tr~?y" matches only with "Tr?y", not "Tray" or "Troy".
In summary, we use the question mark (?) when to accept only a single character, and the
asterisk (*) to accept multiple characters.