Intro
The Excel Vlookup function is a powerful tool used for looking up and retrieving data from a table or range by matching a value. Typically, Vlookup performs an exact match, but there are scenarios where you might need to perform a partial match. This can be particularly useful when dealing with large datasets where exact matches might not always be feasible or when the data you're looking up contains variations.
Performing a partial match with Vlookup involves using the function in combination with other Excel functions, such as the LEFT
, RIGHT
, or MID
functions to extract the part of the string you want to match, or using the Wildcard
characters. Excel's Vlookup function itself doesn't directly support partial matches through the use of wildcards like some other lookup functions (e.g., INDEX/MATCH
with wildcards), but you can achieve similar results with a bit of creativity.
Understanding Vlookup Basics
Before diving into partial matches, it's essential to understand how the Vlookup function works. The syntax for Vlookup is:
VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])
lookup_value
: The value you want to look up.table_array
: The range of cells that contains the data.col_index_num
: The column number (starting from 1) that contains the value you want to return.[range_lookup]
: Optional. A logical value that specifies whether you want Vlookup to find an exact match or an approximate match. IfTRUE
or omitted, an approximate match is returned. IfFALSE
, an exact match is required.
Using Wildcard Characters with Vlookup
Although Vlookup itself doesn't directly support wildcard characters for partial matches, you can use a workaround by combining it with the INDEX
and MATCH
functions, which do support wildcards. The MATCH
function with a wildcard can help you find the relative position of a partial match within a range.
For example, if you're looking for a value that starts with "Apple" in a list and you want to return a corresponding value from another column, you can use:
=VLOOKUP(MATCH("*Apple*",A:A,0),A:B,2,FALSE)
In this formula:
MATCH("*Apple*",A:A,0)
finds the relative position of any cell in column A that contains the string "Apple" anywhere in the cell. The*
is a wildcard character that represents any sequence of characters.- This position is then used in the
VLOOKUP
function to find the corresponding value in the second column (column B).
Using Helper Columns for Partial Matches
Another approach is to create a helper column that extracts the part of the string you're interested in and then performs the Vlookup on this helper column. For instance, if you want to match the first few characters of a string, you can use the LEFT
function to extract those characters into a new column and then perform your Vlookup on this new column.
Practical Example
Suppose you have a list of product codes and descriptions in columns A and B, respectively, and you want to find the description of products that start with "PRD".
-
Using INDEX/MATCH with Wildcard:
- In a new cell, you can use the formula:
=INDEX(B:B,MATCH("PRD*",A:A,0))
- This formula looks for any value in column A that starts with "PRD" and returns the corresponding value from column B.
- In a new cell, you can use the formula:
-
Using a Helper Column:
- In column C, you can create a helper column with the formula:
=LEFT(A2,3)
(assuming your data starts in row 2). - Then, you can use Vlookup on this helper column to find matches:
=VLOOKUP("PRD",C:B,2,FALSE)
- In column C, you can create a helper column with the formula:
Considerations and Alternatives
While Vlookup can be very useful, it's worth noting that it looks up the value in the first column of the specified range and returns a value in the same row from another column. This can be limiting if your data structure is complex or if you need to perform lookups based on multiple criteria.
The INDEX/MATCH
function combination is often more flexible and powerful for performing lookups, including partial matches, especially when combined with wildcard characters. Additionally, the XLOOKUP
function, introduced in newer versions of Excel, offers a more straightforward and efficient way to perform lookups, including the ability to search for a value in any column, not just the first one.
Embedding Images for Illustration

Steps for Implementing Partial Match
- Identify Your Data: Determine the range of your data and the column you want to look up.
- Decide on the Match Type: Choose whether you want to match the start, end, or any part of the string.
- Apply Wildcards or Helper Columns: Depending on your approach, either use wildcards with
INDEX/MATCH
or create a helper column to extract the relevant part of the string. - Perform Vlookup: Use the Vlookup function, potentially in combination with other functions, to find and return the desired data.
Gallery of Excel Vlookup Examples
Excel Vlookup Image Gallery










FAQs
What is the main difference between Vlookup and Index/Match?
+Vlookup looks up a value in the first column of a specified range and returns a value in the same row from another column, whereas Index/Match offers more flexibility, including the ability to look up a value in any column and return a value from any other column.
How do I perform a partial match using Vlookup?
+You can perform a partial match by combining Vlookup with the Index/Match functions and using wildcard characters (*,?, ~) to specify the partial match criteria.
What are some common errors when using Vlookup?
+Common errors include not specifying the correct range, failing to use absolute references when necessary, and not handling #N/A errors that occur when no match is found.
Further Reading and Practice
To become proficient in using Excel's Vlookup function for partial matches, it's crucial to practice with different datasets and scenarios. Experimenting with the INDEX/MATCH
function combination and understanding how to apply wildcard characters will enhance your ability to perform complex lookups. Additionally, exploring other lookup functions like XLOOKUP
can provide you with a broader toolkit for data analysis in Excel.
If you have any questions or need further clarification on how to use Vlookup for partial matches, feel free to ask in the comments below. Share your experiences or tips for mastering Excel's lookup functions, and don't forget to share this article with anyone who might benefit from learning more about Excel Vlookup and partial matches.