HLOOKUP funtion

This function is similar to VLOOKUP but allows you to look up a value in the first row of a range and return the corresponding value in another row.

Syntax

HLOOKUP(Criteria, Range, Row, Type)

  • Criteria (required) – This is the value you are going to try to find.
  • Range (required) – This is the range of cells that you want to search.
  • Row (required) – This is the row number of the range that contains the result you want to return.
  • Type (optional) – This is the type of match you are looking for. FALSE if you want an exact match and TRUE if you want an approximate match. If nothing is entered here, it will default to approximate match.

Example

In this example we look up a last name in the first row and the return the name of the company the person works for from the second row.

HLOOKUP

About the Author

John MacDougall

John MacDougall

John is a Microsoft MVP and qualified actuary with over 15 years of experience. He has worked in a variety of industries, including insurance, ad tech, and most recently Power Platform consulting. He is a keen problem solver and has a passion for using technology to make businesses more efficient.

Related Posts

ROW function

This function will return the row number of the cell referenced. Syntax...

read more

Comments

0 Comments

Get the Latest Microsoft Excel Tips

Follow Us

Follow us to stay up to date with the latest in Microsoft Excel!

Subscribe for awesome Microsoft Excel videos 😃