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 referenceHow to use the HLOOKUP function in Excel
Practice HLOOKUP
Find the April heading and retrieve the figure directly beneath it.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 | ||||
| 5 | ||||
| 6 |
Show example formula
=HLOOKUP(B2,B3:D4,B5,B6) Lesson quiz
Answer three questions to see your level in this lesson.
