Excel Hlookup Function

This post will guide you how to use Excel HLOOKUP function with syntax and examples in Microsoft excel.

Table of Contents

Description

The Excel HLOOKUP function lookup a value in the top row of the table and return the value in the same column based on index_num position.

The HLOOKUP function is a build-in function in Microsoft Excel and it is categorized as a Lookup and Reference Function.

The HLOOKUP function is available in Excel 2016, Excel 2013, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000, Excel 2011 for Mac.

Syntax

The syntax of the HLOOKUP function is as below:

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

Where the HLOOKUP function arguments are:
Lookup_value -This is a required argument. The value that you want to search for, in the first row of the table. Note: the lookup_value can be a value, a cell or ranges reference, or a text string.
Table_array – This is a required argument. Two or more rows of data to be searched in the top row.
Row_index_num – This is a required argument.  The row number in table_array.
Range_lookup – This is a optional argument.  The value can be set as True or False. If true, the function will return an approximate match value. If False, it will find an exact match or it will return an error value #N/A.

Example

The below examples will show you how to use Excel HLOOKUP Lookup and Reference Function.

#1 To search “two” text string in row 1 and returns the value from row 2 that is in the same column, just using the following excel formula: =HLOOKUP(“two”,A1:C2,2,TRUE)

excel hlookup function example1

Related Posts

Excel XLOOKUP Function

Excel XLOOKUP Function was added into Excel as a beta feature in August 2019 and is now accessible exclusively in Microsoft 365. (as of July 2021). However, if you fall into this category and often deal with big sets of ...

Excel SORT Function
excel sort function1

The excel sort function is one of the most useful new features in Excel. It is one of many functions that make advantage of Excel's new dynamic array calculation engine, which enables Excel to spill results from a single formula ...

Excel TRANSPOSE Function

Excel TRANSPOSE formula allows you to rotate (swap) values from rows to columns and vice versa in Excel. Its goal, as a component of the Excel lookup and reference functions, is to arrange data in the appropriate manner. To run ...

Excel Vlookup Function
excel vlookup function example1

This post will guide you how to use Excel VLOOKUP function with syntax and examples in Microsoft excel. Description The Excel VLOOKUP function lookup a value in the first column of the table and return the value in the same ...

Excel Rows Function
excel rows function example1

This post will guide you how to use Excel ROWS function with syntax and examples in Microsoft excel. Description The Excel ROWS function returns the number of rows in a cell reference. The ROWS function is a build-in function in Microsoft ...

Excel Row Function
excel row function example3

This post will guide you how to use Excel ROW function with syntax and examples in Microsoft excel. Description The Excel ROW function returns the row number of a cell reference. The ROW function is a build-in function in Microsoft ...

Excel Match Function
excel match function example3

This post will guide you how to use Excel MATCH function with syntax and examples in Microsoft excel. Description The Excel MATCH function search a value in an array and returns the position of that item. The MATCH function is a ...

Excel Lookup Function
excel lookup function example 1

This post will guide you how to use Excel LOOKUP function with syntax and examples in Microsoft excel. Description The Excel LOOKUP function will search a value in a vector or array. The LOOKUP function is a build-in function in Microsoft ...

Excel Indirect Function
excel indirect function example1

This post will guide you how to use Excel INDIRECT function with syntax and examples in Microsoft excel. Description The Excel INDIRECT function returns the cell reference based on a text string, such as: type the text string “A2” in ...

Excel Index Function
excel index function example2

This post will guide you how to use Excel INDEX function with syntax and examples in Microsoft excel. Description The Excel INDEX function returns a value from a table based on the index (row number and column number). You can ...

Sidebar