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.


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.


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.


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.


Related Posts

ROW function

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

read more



Get the Latest Microsoft Excel Tips

Follow Us

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