What are wildcard characters What is the use of wildcard characters?

Excel Wildcard Characters

Wildcards in Excel are the special Excel characters that take the place of the characters in it. Excel has three wildcards: an asterisk, question mark, and tilde. Asterisk is used for multiple numbers of characters in Excel, while a question mark represents only a single character. In contrast, the tilde is the identification of the wild card character.

Wildcard characters are special characters used to find the result, which is less than exact or accurate.

For example, if you have the word “Simple Chat.” In the database, you have “Simply Chat,” then the common letter in these two words is “Chat,” so we can match these with Excel wildcard characters.

What are wildcard characters What is the use of wildcard characters?

You are free to use this image on your website, templates, etc, Please provide us with an attribution linkArticle Link to be Hyperlinked
For eg:
Source: Wildcard in Excel (wallstreetmojo.com)

Types

There are three types of wildcard characters in Excel.

Type #1 – Asterisk (*)

It is to match zero or the number of characters. So, for example, “Fi*” could match “Final, Fitting, Fill, Finch, and Fiasco,” etc.

Type #2 – Question Mark (?)

It is used to match any single character. For example, “Fa? e” could match “Face” & “Fade,” “?ore” could match “Bore” & “Core,” “a? ide,” which could match “Abide” and “Aside.”

Type #3 – Tilde (~)

It is used to match wildcard characters in the word. So, for example, if you have the word “Hello*” to find this word, we need to frame the sentence as “Hello~*.” So here, the character tilde (~) specifies the word “Hello” as the wildcard character does not follow it.

Examples

Example #1 – Usage of Excel Wildcard Character Asterisk (*)

As we discussed, an asterisk is used to match any number of characters in the sentence.

  1. Look at the below data.


    What are wildcard characters What is the use of wildcard characters?

  2. In the above data, we have names. With these names, we have many names with the common word “Abhishek.” So, using a wildcard asterisk, we can count all the “Abhishek” here. Open the COUNTIF function and select the range.


    What are wildcard characters What is the use of wildcard characters?

  3. In the criteria argument, mention the criteria as “Abhishek*.”


    What are wildcard characters What is the use of wildcard characters?

  4. That is all. It will count all the words “Abhishek” in them.


    What are wildcard characters What is the use of wildcard characters?

Example #2 – Partial Lookup Value in VLOOKUP

VLOOKUP requires an exact lookup_value to be matched to fetch the data. It is the traditional slogan, but we can still fetch the data using particle lookup_value. So, for example, if the lookup value is “VIVO” and in the main table, if it is “VIVO Mobile,” we can still match using wildcard characters. We will see one of the examples now. Below is the example data.

What are wildcard characters What is the use of wildcard characters?

We have a lookup table in column A. In column C, we have lookup values. These lookup values are not the same as the lookup table values. So, we will see how to apply VLOOKUP using wildcards.

First, open the VLOOKUP functionThe VLOOKUP excel function searches for a particular value and returns a corresponding match based on a unique identifier. A unique identifier is uniquely associated with all the records of the database. For instance, employee ID, student roll number, customer contact number, seller email address, etc., are unique identifiers. read more in the D1 cell.

What are wildcard characters What is the use of wildcard characters?

The first argument is the lookup value. One of the problems with the lookup value here is we do not have an exact match, so we need to enclose this lookup value with an asterisk before and after the lookup value.

What are wildcard characters What is the use of wildcard characters?

We have applied two asterisk characters, “*” &C2&”*.” Here, an asterisk indicates that we should match anything between the wildcard, and it should return the related result.

What are wildcard characters What is the use of wildcard characters?

Even though we had just “Infosys,” the asterisk character matched the value in the lookup table and returned the exact result as “Infosys Ltd.”

Similarly, in cell D6, we got the error value as #VALUE#VALUE! Error in Excel represents that the reference cell the user has either entered an incorrect formula or used a wrong data type (mostly numerical data). Sometimes, it is difficult to identify the kind of mistake behind this error.read more! Because there is no word “Mintra” in the lookup tableLookup tables are simply named tables that are used in combination with the VLOOKUP function to find any data in a large data set. We can select the table and name it, and then type the table's name instead of the reference to look up the value.read more.

Example #3 – Usage of Excel Wildcard Character Question Mark (?)

As we discussed, the question mark can match a single character in the specified slot. For example, look at the below data.

What are wildcard characters What is the use of wildcard characters?

In the above data, our ideal value should be “Wallstreet Mojo,” but we have several special characters in between. So, we will use the question mark to replace all of those.

Select the data and press “Ctrl + H.”

What are wildcard characters What is the use of wildcard characters?

In the “Find what” box, type “Wallstreet?Mojo.” In the “Replace with” box, type “Wallstreet Mojo.”

What are wildcard characters What is the use of wildcard characters?

Click on Replace All. We will get the below result.

What are wildcard characters What is the use of wildcard characters?

Nice, isn’t it??

The trick is done here by Excel wildcard character question mark (?). First, let us take a look at what we have mentioned.

Find What: “Wallstreet?Mojo”

Replace With: “Wallstreet Mojo”

So, after the word Wallstreet any character that the space character should replace. So, all the special characters are replaced by a space character, and we will have a proper value of “Wallstreet Mojo.”

Like this, by using wildcard characters, we can match partial data and get the job done.

This article has been a guide to Wildcard in Excel. Here, we discuss the three different types of wildcard characters – Asterisk (*), Question Mark(?) & Tilde(~) in Excel, along with examples and a downloadable Excel template. You may also look at these useful functions in Excel: –

  • What is Excel Delta Symbol (Δ)?
  • What is Word Cloud in Excel?
  • $ Symbol in Excel
  • How to Count Characters in Excel?

What are wildcards?

A wildcard is a symbol that takes the place of an unknown character or set of characters. Commonly used wildcards are the asterisk ( * ) and the question mark ( ? ). Depending on the software or the search engine you are using, other wildcard characters may be defined.

What is wildcard character class 6?

Alternatively referred to as a wild character or wildcard character, a wildcard is a symbol used to replace or represent one or more characters. The most common wildcards are the asterisk (*), which represents one or more characters and question mark (?) that represents a single character.

What is the use of wildcard in computer science?

A wildcard is a character that can be used to substitute for another character or a set of characters. For example, you can use a wildcard to query for any names that begin with D.

What is wild card character used in databases?

A wildcard is a character that substitutes for another character or string of characters when searching a database. A 'character' in this context is a letter, number or graphic symbol (such as an & or $ symbol).