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 30-day!

ad advanced combine rows sum

Office Tab Enable Tabbed Editing and Browsing in Office, and Make Your Work Much Easier...
Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%
  • Reuse Anything: Add the most used or complex formulas, charts and anything else to your favorites, and quickly reuse them in the future.
  • More than 20 text features: Extract Number from Text String; Extract or Remove Part of Texts; Convert Numbers and Currencies to English Words.
  • Merge Tools: Multiple Workbooks and Sheets into One; Merge Multiple Cells/Rows/Columns Without Losing Data; Merge Duplicate Rows and Sum.
  • Split Tools: Split Data into Multiple Sheets Based on Value; One Workbook to Multiple Excel, PDF or CSV Files; One Column to Multiple Columns.
  • Paste Skipping Hidden/Filtered Rows; Count And Sum by Background Color; Send Personalized Emails to Multiple Recipients in Bulk.
  • Super Filter: Create advanced filter schemes and apply to any sheets; Sort by week, day, frequency and more; Filter by bold, formulas, comment...
  • More than 300 powerful features; Works with Office 2007-2019 and 365; Supports all languages; Easy deploying in your enterprise or organization.


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.

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 tools for Excel. Full feature free trial 30-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!

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 tools for Excel. Full feature free trial 30-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:


Kutools for Excel includes more than 300 handy tools for Excel, free to try without limitation in 30 days. Download and Free Trial Now!


Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
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?