Lookup and reference

HLOOKUP

Search across the top row of a table and retrieve a value from a lower row.

Syntax

=HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])

Worked example

Find the April heading and retrieve the figure directly beneath it.

=HLOOKUP("April",{"March","April","May";18,25,30},2,FALSE)

Result 25

Microsoft documentation

Check the arguments, supported editions and behavior of this function in Microsoft’s reference.

Microsoft reference

Search ExcelTutor