Searches for a value in the first column of the specified table or array of values, and returns a value in the same row from another specified column in the table or array.
Syntax
![]() |
---|
VLOOKUP( Any lookup, ReferenceOrArray dataSource, Integer column, [Logical rangeLookup = TRUE] ) → Any |
If VLOOKUP cannot find lookup, and rangeLookup is TRUE (or omitted), it uses the largest value that is less than lookup. If rangeLookup is FALSE, VLOOKUP will find an exact match. If one is not found, the error value #N/A is returned.
Function Reference
INDEX Function
MATCH Function
OFFSET Function
HLOOKUP Function