Use VLOOKUP when you need to find things in a table or range by row.

  1. Select a cell.

  2. Type =VLOOKUP( and then select the value to lookup.

  3. Type a comma (,) and select the range or table to look for the value.

  4. Type a comma (,) and the number of the column where the lookup value is located.

  5. Type ,FALSE) to find an exact match.

  6. Press Enter.

The formula for the video example is as follows:

=VLOOKUP(A7, A2:B5, 2, FALSE).

In its simplest form, the VLOOKUP function says:

=VLOOKUP(lookup value, range containing the lookup value, the column number in the range containing the return value, optionally specify TRUE for approximate match or FALSE for an exact match).



Source: Microsoft