Skip to content
Free Excel Tutorials
  • Home
  • Excel For Beginners
  • Excel Intermediate
  • Advanced Excel For Experts

Data Analysis

  • Everything about Charts in Excel
  • How to count table columns in Excel
  • How to calculate correlation coefficient Correlation in Excel
  • Conditional Formatting Icon Sets Examples in Excel
  • Conditional Formatting Color Scales Examples in Excel

References

  • Merge tables with VLOOKUP in Excel
  • Convert text string to valid reference in Excel using Indirect function
  • Vlookup Examples in Excel
  • Approximate match with multiple criteria in Excel
  • Perform case-sensitive Lookup in Excel

Data Validations

  • Excel Data validation whole percentage only
  • Excel Data validation must begin with
  • Excel Data validation date in specific year
  • Excel Data validation exists in list
  • Excel Data validation only dates between

How to use Excel HLOOKUP Function

by

This Excel tutorial explains how to use the HLOOKUP function with syntax and examples. How to handle errors such as #N/A and retrieve the correct results is also discussed.

Excel HLOOKUP function Description

The Microsoft Excel HLOOKUP function performs a horizontal lookup by searching for a value in the top row of the table and returning the value in the same column based on the index_number.

The HLOOKUP function is a built-in function in Excel that is categorized as a Lookup/Reference Function. HLOOKUP function can be entered as part of a formula in a cell of a worksheet.

Explanation: The above HLOOKUP examples would return:

=HLOOKUP(10251, A1:G3, 2, FALSE)
Result: $16.80    'Returns value in 2nd row

=HLOOKUP(10251, A1:G3, 3, FALSE)
Result: 6         'Returns value in 3rd row

=HLOOKUP(10248, A1:G3, 2, FALSE)
Result: #N/A      'Returns #N/A error (no exact match)

=HLOOKUP(10248, A1:G3, 2, TRUE)
Result: $14.00    'Returns an approximate match

Post navigation

Previous Post:

VLOOKUP without #N/A error in Excel

Next Post:

Manipulating text strings using Left, Mid, Right, Len, Substitute in Excel

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Learn Basic Excel

Ribbon
Workbook
Worksheets
Format Cells
Find & Select
Sort & Filter
Templates
Print
Share
Protect
Keyboard Shortcuts

Categories

  • Charts
  • Data Analysis
  • Data Validation
  • Excel Functions
    • Cube Functions
    • Database Functions
    • Date and Time Functions
    • Engineering Functions
    • Financial Functions
    • Information Functions
    • Logical Functions
    • Lookup and Reference Functions
    • Math and Trig Functions
    • Statistical Functions
    • Text Functions
    • Web Functions
  • Excel VBA
  • Excel Video Tutorials
  • Formatting
  • Grouping
  • Others

Logical Functions

  • How to use Excel XOR Function
  • Nested IF function example in Excel
  • IFNA function: Description, Usage, Syntax, Examples and Explanation
  • Invoice status with nested if in Excel
  • SWITCH function example in Excel

Date Time

  • Convert Excel time to decimal hours in Excel
  • How to calculate Day of the Year in Excel
  • Calculate years between dates in Excel
  • Convert Excel time to decimal seconds
  • Excel Date & Time Functions Example

Grouping

  • Categorize text with keywords in Excel
  • Group times into 3 hour buckets in Excel
  • Map inputs to arbitrary values in Excel
  • Map text to numbers in Excel
  • If cell contains one of many things in Excel

General

  • Split Cell Content Using Text to Columns in Excel
  • Basic error trapping example in Excel
  • How to generate random number between two numbers in Excel
  • Creating and Opening an existing file in Excel
  • Customize Ribbon In Excel
© 2025 xlsoffice . All Right Reserved. | Teal Smiles | Abbreviations And Their Meaning