Excel HLOOKUP
HLOOKUP function works like VLOOKUP function. The only difference is that the lookup table or range is arranged horizontally instead of vertically. HLOOKUP looks up the value in the first row of the range or table and returns the matching value in a specified range row.
Syntax: HLOOKUP (lookup_value,table_array,row_index_num,range_lookup)
Lookup_value – This is the value you are trying to find in a range or table.
Table_array – This is the range where you are looking for a value to match the lookup_value.
Row_index_num – This is the row number within the range from where the matching value would be returned.
Range_lookup - This is optional. If TRUE or 1 or omitted, an approximate match is returned by the formula. If FALSE or 0, Hlookup will search for an exact match. If it doesn’t find an exact match, this formula would return error as #N/A.