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

Get Example Workbook

Example-001-VLOOKUP-1024x642 VLOOKUP function

 

In this example we want to lookup the company based on a first name of the employee.

 

Example-002-VLOOKUP-1024x642 VLOOKUP function

 

In this example we want to lookup the company based on the employee ID which is a numerical value.