How to get the exact match vlookup
Tutor 5 (50 Reviews)
Excel Tutor
Still stuck with a Excel question
Ask this expertAnswer
A VLOOKUP function in Excel searches for a value in the first column of a table array and returns a value in the same row from another column. To get an exact match, you must set the fourth argument of the function to FALSE.
Steps to Use Exact Match VLOOKUP
-
Select the cell where you want the result.
-
Enter the VLOOKUP formula:
=VLOOKUP(lookup_value, table_array, col_index_num, FALSE)
-
Replace the parameters as follows:
-
lookup_value: The value you want to search for. -
table_array: The range of cells containing your data. -
col_index_num: The column number in the table array from which to return the value. -
FALSE: Ensures Excel searches for an exact match.
-
Example
Suppose you have the following table in cells A1:B5:
| ID | Name |
|---|---|
| 101 | John |
| 102 | Mary |
| 103 | Steve |
| 104 | Alice |
To find the name corresponding to ID 103, use:
=VLOOKUP(103, A1:B5, 2, FALSE)
This returns Steve. Using TRUE instead of FALSE may return incorrect results if the IDs are not sorted.
Notes and Tips
-
The first column of
table_arraymust contain the value you are searching for. -
FALSEguarantees exact match.TRUEor omitted defaults to approximate match. -
Exact match is case-insensitive.
VLOOKUPtreatsMaryandMARYas equal. -
Use
IFERRORto handle missing values:=IFERROR(VLOOKUP(103, A1:B5, 2, FALSE), "Not Found")
-
On Mac, the formula structure is identical, but
Command+Shift+Enteris not required unless using older versions.
Common Issues
-
#N/A error occurs when the value is not found.
-
Leading/trailing spaces can prevent matches. Use
TRIMto clean the data. -
VLOOKUPcannot search to the left. ConsiderINDEX+MATCHfor that scenario.
This method ensures accurate results and prevents mismatched data retrieval.
Get Online Tutoring or Questions answered by Experts.
You can post a question for a tutor or set up a tutoring session
Answers · 1
Why is today function not working
Answers · 1
How to extract date from datetime in excel
Answers · 1
Why is the date value not working
Answers · 1
How to create a date formula
Answers · 1