0% found this document useful (0 votes)
2 views

HLOOKUP in Excel

The HLOOKUP function in Excel is used to search for a value in the top row of a horizontally arranged table and return a value from a specified row in the same column. Its syntax includes parameters for the lookup value, table range, row index number, and an optional range lookup for approximate or exact matches. HLOOKUP differs from VLOOKUP, which searches vertically down a column, making HLOOKUP suitable for horizontal data retrieval.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

HLOOKUP in Excel

The HLOOKUP function in Excel is used to search for a value in the top row of a horizontally arranged table and return a value from a specified row in the same column. Its syntax includes parameters for the lookup value, table range, row index number, and an optional range lookup for approximate or exact matches. HLOOKUP differs from VLOOKUP, which searches vertically down a column, making HLOOKUP suitable for horizontal data retrieval.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

The HLOOKUP function in Excel searches for a value in the top row of a table and returns a value from

the same column, but a specified row number, making it useful for horizontal data retrieval.

Here's a breakdown of how HLOOKUP works:

Purpose:

HLOOKUP is designed to find data in a table arranged horizontally (rows).

Syntax:

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

lookup_value: The value you're searching for in the first row of the table_array.

table_array: The range of cells containing your data, where the first row contains the lookup values.

row_index_num: The row number within the table_array from which you want to retrieve the value.

[range_lookup] (Optional): A logical value (TRUE or FALSE) that specifies whether to find an approximate
(TRUE) or exact (FALSE) match. If omitted, it defaults to TRUE.

How it works:

HLOOKUP searches for the lookup_value in the first row of the table_array.

If a match is found (or an approximate match, depending on [range_lookup]), it returns the value from
the same column, but from the row specified by row_index_num.

Example:

If you have a table with product names in the first row and prices in the second row, and you want to
find the price of "Product A", you would use =HLOOKUP("Product A", A1:B2, 2, FALSE).

"Product A" is the lookup_value.

A1:B2 is the table_array.

2 is the row_index_num (the second row, where prices are located).

FALSE specifies an exact match.

Difference from VLOOKUP:

While HLOOKUP searches horizontally, VLOOKUP searches vertically (down a column). Choose HLOOKUP
when your lookup values are in a row and you want to retrieve data from a corresponding column.

You might also like