HLOOKUP is VLOOKUP turned sideways. It searches across the first row of a table and returns a value from further down the same column. Use it when headings run left to right, like months in a report.
Syntax
=HLOOKUP(search_key, range, index, [is_sorted])
search_key
The value to find in the first row.
range
The table to search.
index
Which row of the range to return. The header row is 1.
is_sorted
Optional. FALSE for exact match. Defaults to TRUE.
Practice HLOOKUP
Task 1 of 2
Using HLOOKUP, return March costs from the monthly report. Answer in I2.
I2
fx
Tip: while typing a formula, click a cell or drag across cells to insert references. Press Enter to check, and Tab to accept a function suggestion.
HLOOKUP examples
Each example below runs against this sample sheet. The results are calculated by the same engine as the practice grid.