HLOOKUP in Apple Numbers
Short answer: HLOOKUP searches for a value in the top row of a range and returns the value from another row of the same column. Syntax:
HLOOKUP(search-for, range, row, exact)Explanation
HLOOKUP searches for a value in the top row of a range and returns the value from another row of the same column. It is VLOOKUP, but horizontal.
Syntax
HLOOKUP(search-for, range, row, exact)Example
Search the top row of B2:C5 for the number 4 and return the value from the 3rd row of that column.
| A | B | C | |
|---|---|---|---|
| 1 | Product | Price | Qty |
| 2 | Apple | 4 | 10 |
| 3 | Pear | 6 | 5 |
| 4 | Kiwi | 12 | 2 |
| 5 | Grape | 8 | 3 |
Formula: =HLOOKUP(4,B2:C5,3,0)
Result: 12
Frequently asked questions
What does HLOOKUP do in Apple Numbers?
HLOOKUP searches for a value in the top row of a range and returns the value from another row of the same column. It is VLOOKUP, but horizontal.
What is the syntax of HLOOKUP?
The syntax is HLOOKUP(search-for, range, row, exact).
More in this category
Practise it yourself
Type the formula yourself in a real exercise and see right away if your answer is correct. The first exercises are free.
Start practising