ZonoTools

Excel Practice - HLOOKUP

Instruction

Find "P-102" in the top row of A1:C6 and return the value from the 3rd row with exact match.

Formula Syntax

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

  • lookup_value: The value to find.
  • table_array: The table range that contains lookup data.
  • row_index_num: The return row position in the table (starting at 1).
  • [range_lookup]: Optional match mode: FALSE for exact match, TRUE for approximate match.

What it does

Lookup a value across the top row of a table.

lookup-reference-table.xlsx

ABC
1CodeNamePrice
2P-101Mouse19
3P-102Keyboard45
4P-103Monitor199
5P-104USB Hub29
6P-105Headset59
7Output

Input Formula

Need Help?

Tips

  • Use HLOOKUP with clean and consistent ranges for predictable results.
  • Validate data types (number, text, date) before applying the formula.
  • Test the formula with a small sample first, then scale it to larger ranges.