Vlookup with Exact Match : Function Syntax =VLOOKUP(lookup_value, table_array, col_index_num, range_lookup) User Input EMP005 tbl_employees 4 Formula =vlookup(EMP005, emp005, 4, FALSE) Change the User Inputs in cells C9 and E9 and watch the output in G9.
Vlookup with Exact Match : Function Syntax =VLOOKUP(lookup_value, table_array, col_index_num, range_lookup) User Input EMP005 tbl_employees 4 Formula =vlookup(EMP005, emp005, 4, FALSE) Change the User Inputs in cells C9 and E9 and watch the output in G9.
Vlookup with Exact Match : Function Syntax =VLOOKUP(lookup_value, table_array, col_index_num, range_lookup) User Input EMP005 tbl_employees 4 Formula =vlookup(EMP005, emp005, 4, FALSE) Change the User Inputs in cells C9 and E9 and watch the output in G9.
Vlookup with Exact Match : Function Syntax =VLOOKUP(lookup_value, table_array, col_index_num, range_lookup) User Input EMP005 tbl_employees 4 Formula =vlookup(EMP005, emp005, 4, FALSE) Change the User Inputs in cells C9 and E9 and watch the output in G9.
Function Syntax } =VLOOKUP(lookup_value, table_array, col_index_num, range_lookup)
Input Parameters } lookup_value table_array col_index_num User Input } EMP005 tbl_employees 4 Formula } =VLOOKUP(EMP005, tbl_employees, 4, FALSE) 1 2 3 4 Employee ID Full Name SSN Department EMP001 Faith K. Macias 845-04-3962 Marketing EMP002 Lucian Q. Franklin 345-28-4935 IT/IS EMP003 Blaze V. Bridges 503-53-8350 Accounts EMP004 Denton Q. Dale 858-39-7967 Sales EMP005 Blossom K. Fox 245-18-5890 Engineering EMP006 Kerry V. David 873-45-8675 Finance EMP007 Melanie X. Baker 190-08-3679 Admin EMP008 Adele M. Fulton 352-36-9553 Human Resource EMP009 Justina O. Jensen 645-74-0451 Customer Support EMP010 Yoshi J. England 558-53-1475 Advertisement VLookup Formulas with Exact Match Change the User Inputs in cells C9 and E9 and watch the output in G9 tbl_employees =VLOOKUP(lookup_value, table_array, col_index_num, range_lookup) range_lookup Output FALSE Engineering 5 6 Start Date Earnings 1/27/2008 $73,500.00 3/1/2008 $80,000.00 4/16/2008 $95,000.00 5/3/2008 $105,000.00 7/11/2008 $90,000.00 7/17/2008 $60,000.00 10/5/2008 $87,000.00 10/28/2008 $104,000.00 11/5/2008 $380,050.00 12/9/2008 $93,000.00 VLOOKUP with Department Sheet Password = 'lookup' Victor Chan, Launch Excel 2012 VLOOKUP with Exact Match This worksheet shows you how to use the VLOOKUP function for exact matches.
Function syntax: VLOOKUP(lookup_value, table_array, col_index_num, range_lookup)
How it works: When range_lookup is set to FALSE or 0, Excel goes to the table_array and looks in the leftmost column for the lookup_value. Only if an exact match is found does Excel give the corresponding value from the column set by col_index_num, otherwise you get an error message #N/A.
When to use it: You should use Exact Match when you want to make sure that Excel only returns a result value if it finds the exact lookup_value in your table. Your lookup table should contain unique items, in this case Employee IDs are unique as every ID is different.
What to look out for: When you use VLOOKUP with Exact Match, beware that it will only return the first line it finds. So if there is more than one row in your table with the correct lookup_value, Excel will only give you the result value from the first line and not any subsequent lines. It's possible to use array formulas to return more than one value with VLOOKUP but that is a more advanced topic that we won't cover here.
FALSE 2 0 3 4 5 6 Syntax of Vlookup with Exact Match : Function Syntax } =VLOOKUP(lookup_value, table_array, col_index_num, range_lookup) Input Parameters } lookup_value table_array col_index_num User Input } 20% tbl_marks 2 Formula } =VLOOKUP(20%, tbl_marks, 2, TRUE) Student Marks Grade STU001 20% E STU002 32% STU003 48% STU004 56% STU005 60% STU006 63% STU007 64% STU008 72% STU009 75% STU010 84% STU011 90% STU012 95% VLookup Formulas with Approximate Match Change the User Inputs in cell C9 and watch the output in G9 =VLOOKUP(lookup_value, table_array, col_index_num, range_lookup) range_lookup Output TRUE E 1 2 Marks Grade 0% E 30% D 60% C 80% B 90% A VLOOKUP with tbl_marks Sheet Password = 'lookup' Victor Chan, Launch Excel 2012 VLOOKUP with Approximate Match This worksheet shows you how to use the VLOOKUP function for approximate matches.
Function syntax: VLOOKUP(lookup_value, table_array, col_index_num, range_lookup)
How it works: When range_lookup is set to TRUE or 1, Excel goes to the table_array and looks down the leftmost column until it finds a value greater than the lookup value. It then goes back up one row and gives its result from that row. If the lookup value is higher than the value in the last row, Excel uses the last row for its result. If the lookup_value is lower than the value in the first row, VLOOKUP gives an error message #N/A.
When to use it: You should only use an approximate match when you definitely need an approximate match. If you have exact records to lookup and you want accurate results, you should never use an approximate match. Two other examples when approximate matches are useful: looking up variable tax rates, and looking up variable commission rates.
What to look out for: Excel uses approximate matches by default, so if you do not specify FALSE as the range_lookup parameter, you will get approximate matches. Remember the first column of table_array must be sorted in ascending order for approximate matches to work properly. TRUE 1