VLOOKUP Function
Find a value in the first column of a table and return a value from the same row. lookup_value is the value to find, table_array the table and col_index_num the number of the column to return, counted from 1. range_lookup FALSE finds an exact match, with the wildcards * and ? for text; the default TRUE finds the largest value less than or equal to lookup_value and requires the first column to be sorted in ascending order. The comparison is not case-sensitive. A value that is not found returns #N/A, a column number less than 1 returns #VALUE!, and a column number greater than the number of columns returns #REF!.
Syntax
VLOOKUP(lookup_value, table_array, col_index_num, range_lookup)
Category: Lookup. Minimum arguments: 3. Maximum arguments: 4.
Available for supported offline calculation.
Examples
=VLOOKUP("Product sales",A4:D6,2,FALSE)
Cell and range examples require appropriate input values in the referenced cells. Handle invalid arguments, formula errors and array and spill constraints.