VLOOKUP

looks up value in first column of range and returns value from specified column

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

examples

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

CD
1 alpha2026-01-15
2 beta2026-03-31
3 gamma2026-12-01
4 delta
5 epsilon
fx =VLOOKUP("beta", C1:D5, 2, FALSE) 46112

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
  • INDEX returns value at row and column in range
  • INDIRECT returns reference specified by text string
  • LOOKUP looks up value in one-row or one-column range