Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to vlookup wildcard (~, *, ?) literally in Excel?

For example, you want to vlookup a value with wildcard, says Apple* in Excel. The formula =VLOOKUP("Apple*",A1:D24,4,FALSE) won’t return the correct result because the asterisk * represents any series of characters, such as Appleavcs. But, you may just want to vlookup Apple* literally. How to solve it? Below methods will help you get it done:

Vlookup value containing wildcard (~, *, ?) literally with formula

Vlookup value containing wildcard (~, *, ?) literally with Kutools for Excel

Vlookup multiple values containing wildcard (~, *, ?) literally with Kutools for Excel

Easily vlookup and sum, count, average lookup findings in Excel

Kutools for Excel’s Advanced Combine Rows utility can help Excel users to batch sum, count, and average based on duplicate items in one column (the Fruit Column in our case), and then delete the duplicate rows based on this column (the Fruit Column) easily as below screenshot shown. Full Feature Free Trial 60-day!

ad advanced combine rows sum



We can combine the VLOOKUP function and SUBSTITUTE function to vlookup value containing wildcards literally easily. Please do as follows:

Enter the formula =VLOOKUP(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(F2,"~","~~"),"?","~?"),"*","~*"),A1:D24,4,FALSE) into a blank cell, and press the Enter key.

And then the value matched the lookup value has been found out from the array table. See screenshot:

note ribbon Formula is too complicated to remember? Save the formula as an Auto Text entry for reusing with only one click in future!
Read more…     Free trial

Note: In above formula, F2 is the lookup value, A1:D24 is the array table you will search for the lookup value from, and 4 means it will look for the target value from the fourth column in the array table.


The combined formula is too complex to remember? Don’t worry! This method recommend Kutools for Excel’s Select Specific Cells utility to easily vlookup value containing wildcards literally from the selected range easily.

Kutools for Excel - Combines more than 300 Advanced Functions and Tools for Microsoft Excel

1. Select the range you will vlookup value containing wildcards, and click Kutools > Select > Select Specific Cells. See screenshot:

2. In the opening Select Specific Cells dialog box, (1) please check the Entire row option in the Selection type section; (2) select the Equals from the first drop down list in the Specific type section, (3) type the value with wildcard into following box, (4) and click the Ok button. See screenshot above:

3. A dialog box comes out and shows how many cells (rows) have been found out and selected. Please click the OK button to close it. See screenshot:

And now the row containing the specified value with wildcard has been selected. And you can easily get the target value from the certain column. See screenshot:

Kutools for Excel - Includes more than 300 handy Excel tools. Full feature free trial 60-day, no credit card required! Get it now!


Sometimes, you may need to vlookup many values containing wildcard literally from selected range in Excel at the same time. In this case, you can try Kutools for Excel’sSelect Same & Different Cells utility to archive it easily!

Kutools for Excel - Combines more than 300 Advanced Functions and Tools for Microsoft Excel

1. Type the values with wildcards you will vlookup in a column, and click Kutools > Select > Select Same & Different Cells to open the Compare Ranges dialog box.

Note: In our case we type three values with wildcards in the Range F2:F4.

doc select same different cells

doc select same different cells 3464

2. In the Compare Ranges dialog box, please do as left screenshot shown::

(1) Specify the column you will search for values with wildcard into the Find values in box;
(2) Specify the column you just entered the values with wildcards into the According to box;
(3) Check the Each row option in the Based on section;
(4) Check the Same Values option;
(5) Check the Fill backcolor option, and specify a fill color from below drop down list;
(6) Check the Select entire rows option.
(7) Click the Ok button.

Kutools for Excel - Includes more than 300 handy Excel tools. Full feature free trial 60-day, no credit card required! Get it now!

3. Another Compare Ranges dialog box pops out and shows how many rows have been selected. Just click the OK button to close it.

And now entire rows containing the specified values with wildcards have been highlighted. And you can easily get the matched values from the certain column (the Amount column in our case). See screenshot:


In this Video, the Kutools tab and the Kutools Plus tab are added by Kutools for Excel. If need it, please click here to have a 60-day free trial without limitation!



Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    John · 1 years ago
    Why can't you just cover the topic instead of trying to push a package I have not interest in?