N
Fame Shock News

excel wildcard

Author

Matthew Wilson

Updated on June 09, 2026

Wildcard characters in Excel are special characters that can be used to take the place of characters in a formula. They are employed in Excel formulas for incomplete matches. Excel supports wildcard characters in formulas to return values that share the same pattern.

How do you use wildcards in Excel?

Note: wildcards only work with text, not numbers.

Excel has 3 wildcards you can use in your formulas:
Asterisk (*) – zero or more characters.Question mark (?) – any one character.Tilde (~) – escape for literal character (~*) a literal question mark (~?), or a literal tilde (~~).

What is a wildcard used for?

Wildcards are special characters that can stand in for unknown characters in a text value and are handy for locating multiple items with similar, but not identical data. Wildcards can also help with getting data based on a specified pattern match. For example, finding everyone named John on Park Street.

Can you use * in Excel?

Wildcards are special characters that can take any place of any character (hence the name – wildcard). There are three wildcard characters in Excel: * (asterisk) – It represents any number of characters. For example, Ex* could mean Excel, Excels, Example, Expert, etc.

How do you use a wildcard in Excel Find and Replace?

How to replace with wildcard
Press Ctrl + H to open the Replace tab of the Find and Replace dialog.In the Find what box, type the wildcard expression: ? omel.In the Replace with box, type the replacement text: Homyel.Click the Replace All button.

How do you use wildcard search?

To perform a single-character wildcard search, use the “?” symbol in place of the single character you wish to replace. To perform a multiple-character wildcard search, use the “*” symbol to look for zero or more characters. You can use wildcard searches at the end or in the middle of a term.

Can you use wildcards in Excel if statements?

Unlike several other frequently used functions, the IF function does not support wildcards. However, you can use the COUNTIF or COUNTIFS functions inside the logical test of IF for basic wildcard functionality.

Why is my wildcard not working Excel?

Make sure your data doesn’t contain erroneous characters. When counting text values, make sure the data doesn’t contain leading spaces, trailing spaces, inconsistent use of straight and curly quotation marks, or nonprinting characters. In these cases, COUNTIF might return an unexpected value.

How do you do a wildcard in Vlookup?

To use wildcards with VLOOKUP, you must specify exact match mode by providing FALSE or 0 (zero) for the last argument called range_lookup. This expression joins the text in the named range value with a wildcard using the ampersand (&) to concatenate.

How do you find and replace * in Excel?

To replace text or numbers, press Ctrl+H, or go to Home > Find & Select > Replace.
In the Find what box, type the text or numbers you want to find.In the Replace with box, enter the text or numbers you want to use to replace the search text.Click Replace or Replace All. You can further define your search if needed:

How do I find and replace special characters in Excel?

Select the range of cells where you want to replace text or numbers. To replace character(s) across the entire worksheet, click any cell on the active sheet. Press the Ctrl + H shortcut to open the Replace tab of the Excel Find and Replace dialog.

How do you replace multiple characters in Excel?

a) =SUBSTITUTE(B5, “Word”, “Excel”, 1) – Replaces the first incidence of “Word” with “Excel“. b) =SUBSTITUTE(B5, “Word”, “Excel”, 2) – Replaces the second incidence of “Word” with “Excel“. c) =SUBSTITUTE(B5, “Word”, “Excel”) – Replaces all incidences of “Word” with “Excel“.