AnalystPracticeGuides
DashboardSign up

HLOOKUP: the horizontal lookup

HLOOKUP is VLOOKUP turned on its side. It searches the first row of a table and returns a value from a row below it: =HLOOKUP(lookup_value, table, row_index, FALSE).

When would you use it?

When the labels run across the top, for example months in row 1 and figures in the rows below. With months in B1:M1 and revenue in row 3:

=HLOOKUP("Mar",B1:M3,3,FALSE)

What are the traps?

They are the same as VLOOKUP's. Without FALSE it uses approximate match. The row number breaks if someone inserts a row. It can't look upward.

What replaces it today?

XLOOKUP works in both directions: =XLOOKUP("Mar",B1:M1,B3:M3). In older Excel, INDEX MATCH does the same. You mainly need HLOOKUP to read other people's workbooks and to answer test questions.

Try it yourself. Practise this in a real spreadsheet in your browser, with instant feedback.
Practise HLOOKUP

Updated November 2026.

← All free guides