Premium exercise · Excel lookup functions
HLOOKUP practice: a monthly total
Practice Excel HLOOKUP by looking across a header row to return the sales figure for one month.
Months run across row 1 and the sales for each month are in row 2. A4 is the month to find.
In B4, use HLOOKUP to return that month's sales. Match the month exactly.
Dataset
Starter sheet. Cells marked formula are where the formula goes.
| Row | A | B | C |
|---|---|---|---|
| 1 | Jan | Feb | Mar |
| 2 | 10 | 20 | 30 |
| 3 | Find | ||
| 4 | Feb | Formula goes in B4. formula |
Hint
HLOOKUP searches across the first row of a table, then returns a value from a row underneath.
Explanation
This exercise practices HLOOKUP in Excel. The formula goes in B4.
HLOOKUP finds Feb in row 1 and returns the cell directly below it, which is 20. It looks across, where VLOOKUP looks down.
The interactive sheet and a worked solution are part of Formula Drills Premium. The instructions and starter data on this page are the full problem.