HLOOKUP funtion

2016-05-20

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 freelance consultant and trainer specializing in Excel, Power BI, Power Automate, Power Apps and SharePoint. You can find other interesting articles from John on his blog or YouTube channel.

Subscribe

Advertisement

Related Articles

ROW function

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

read more

Comments

0 Comments

Get The Latest News

Follow Us

Follow us on social media to stay up to date with the latest tips in Excel!

Pin It on Pinterest

Share This