What does it do?
This function allows you to look up a value in one column based on a value in another column.
Syntax
VLOOKUP(Criteria, Range, Column, Type)
- Criteria (required) – This is the value you are going to try to find.
- Range (required) – This is the range of cells that you want to search.
- Column (required) – This is the column number of the range that contains the result you want to return.
- Type (optional) – This is the type of match you are looking for. FALSE if you want an exact match and TRUE if you want an approximate match. If nothing is entered here, it will default to approximate match.
Example
In this example we want to lookup the company based on a first name of the employee.
In this example we want to lookup the company based on the employee ID which is a numerical value.
0 Comments