VLOOKUP

looks up value in first column of range and returns value from specified column · from excel · excel: verified match · sheets: verified match

signature

VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup])

returns: any

argumentrequired
lookup_value required
table_array required
col_index_num required
range_lookup optional · defaults to 1

examples

formula and result, taken from the engine's own test suite — every result below is asserted in CI, not written by hand.

RS
2 north100
3 south200
4 north300
fx =VLOOKUP("south", R2:S4, 2, FALSE) 200
AB
1 102
2 204
3 306
4 408
5 5010
fx =VLOOKUP(25, A1:B5, 2, TRUE) 4

related

  • ADDRESS returns a cell address as text from row and column numbers
  • AREAS returns the number of areas in a reference
  • HLOOKUP searches first row and returns matching value
  • HYPERLINK the text a link displays — clickability is the renderer's
  • INDEX returns value at row and column in range
  • INDIRECT returns reference specified by text string