How To Use Vlookup Wildcard To Implement Partial Match In Excel

The excel VLOOKUP function provides a partial match feature. In this feature, you can implement a fuzzy search using wildcards. This article will tell you how to use wildcards to implement partial matches in the excel VLOOKUP function.

1. How To Use Vlookup Wildcard To Implement Partial Match In Excel.

  1. You can use 3 wildcards (*, ?, and ~) in the excel VLOOKUP function to implement a partial match.
  2. The asterisk wildcard ( * ) can match zero or multiple characters when used in the VLOOKUP function.
  3. The question mark wildcard ( ? ) can match one character in the VLOOKUP function.
  4. The tilde mark wildcard ( ~ ) can be used to escape the above 2 wildcard characters, which means when you want to match the wildcard character * or ? in the cell value, you can add the ~ character before it.
  5. When you want to implement a partial match using the excel VLOOKUP function, you must pass FALSE to the fourth parameter of the VLOOKUP function.
  6. The excel VLOOKUP function will return the first matched cell value.

2. Use Excel Vlookup Wildcard To Implement Partial Match Examples.

  1. Below are the example data cells.
    how-to-use-vlookup-wildcard-to-implement-partial-match-in-excel
  2. The formula =VLOOKUP(“Mac*”, B1:C10,1, FALSE) will return the text Macbook Pro which is the cell B6‘s value.
  3. The formula =VLOOKUP(“?Phone?”, B1:C10,1, FALSE) will return the text iPhone1 which is the cell B2‘s value.
  4. The formula =VLOOKUP(“iPa~**”, B1:C10,1, FALSE) will return the text iPa*d which is the cell B5‘s value. The first parameter in the VLOOKUP function is “iPa~**”, the ~* part will match the character * in the cell value.
  5. The formula =VLOOKUP(“Mac~?*”, B1:C10,1, FALSE) will return the text Mac?Mini which is the cell B8‘s value. The first parameter in the VLOOKUP function is “Mac~?*”, the part ~? will match the question mark character ( ? ) in the text.

Reference

  1. How To Fix Vlookup Wildcard Not Working Issue.

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.