Skip to content

hlookup

Horizontal lookup in a table.

v = hlookup(lookup_value, table_array, row_index_num, range_lookup)

Like vlookup but searches across the first row and returns from row row_index_num. Useful when data is laid out with categories as columns and observations as rows.

hlookup('Q1', T, 3, false)
  • vlookup — Vertical lookup in a table.
  • xlookup — Modern lookup with optional default and search direction.