Simon Sez IT

Online software training and video tutorials for Microsoft, Adobe & more

  • Course List
    • Adobe
      • Dreamweaver
        • Dreamweaver CC
        • Dreamweaver CS6
        • Dreamweaver CS5
        • Dreamweaver CS4
      • Flash
        • Flash CS5
      • InDesign
        • InDesign CS6
        • InDesign CS5
      • Photoshop
        • Photoshop CS6
        • Photoshop CS5
        • Adobe Photoshop CS4
      • Photoshop Elements
        • Photoshop Elements 2022
        • Photoshop Elements 2019
        • Photoshop Elements 2018
        • Photoshop Elements 15
        • Photoshop Elements 14
        • Photoshop Elements 13
        • Photoshop Elements 12
        • Photoshop Elements 11
        • Photoshop Elements 10
        • Photoshop Elements 9
        • Photoshop Elements 8
    • Microsoft
      • Access
        • Access 2021 Beginners
        • Access 2019
        • Access 2019 Advanced
        • Access 2016
        • Access 2016 Advanced
        • Access 2013
        • Access 2013 Advanced
        • Access 2010
        • Access 2010 Advanced
        • Access 2007
      • Excel
        • Data Analytics in Excel
        • Excel 2021 Advanced
        • Excel 2021 Intermediate
        • Excel 2021 Beginners
        • PivotTables for Beginners
        • Excel Dashboards
        • Advanced Formulas in Excel
        • Excel for Business Analysts
        • Advanced PivotTables
        • Power Pivot, Power Query and DAX in Excel
        • Excel 2019 Beginners (Mac)
        • Excel 2019 Beginners
        • Excel 2019 Advanced
        • Excel 2016 Beginners
        • Excel 2016 Intermediate
        • Excel 2016 Advanced
        • Excel 2013
        • Excel 2013 Advanced
        • Excel 2010 Beginners
        • Excel 2010 Advanced
        • Excel 2007
      • OneNote
        • OneNote Desktop and Windows 10
        • OneNote 2016
      • Outlook
        • Outlook 2021
        • Outlook 2019
        • Outlook 2016
        • Outlook 2013
        • Outlook 2010
        • Outlook 2007
      • Power Automate
        • Introduction to Power Automate
      • Power BI
        • Power BI
        • Power BI Intermediate
      • PowerPoint
        • PowerPoint 2021
        • PowerPoint 2019
        • PowerPoint 2016
        • PowerPoint 2013
        • PowerPoint 2010
        • PowerPoint 2007
      • Project
        • Project 2021 Beginners
        • Project for the Web
        • Project 2019
        • Project 2019 Advanced
        • Project 2016
        • Project 2016 Advanced
        • Project 2013
        • Project 2013 Advanced
        • Project 2010
        • Project 2010 Advanced
      • Publisher
        • Publisher 2013
      • SharePoint
        • SharePoint Online
        • SharePoint Foundation 2013
        • SharePoint Server 2013
        • SharePoint Foundation 2010
      • Teams
        • Microsoft Teams (2023 Update)
      • VBA
        • Macros and VBA for Beginners
        • VBA for Excel
        • VBA Intermediate Training
      • Visio
        • Microsoft Visio 2019
        • Visio 2016
        • Visio 2013
        • Microsoft Visio 2010
      • Windows
        • Windows 11 (2023 Update)
        • Windows 10 (2020 Update)
        • Windows 10
        • Windows 8
        • Windows 7
        • Windows Vista
      • Word
        • Word 2021
        • Word 2019 Advanced
        • Word 2019
        • Word 2016
        • Word 2013
        • Word 2010
        • Word 2007
    • QuickBooks
      • QuickBooks
        • QuickBooks Desktop Pro 2022
        • QuickBooks Pro 2021
        • QuickBooks Online Advanced
        • QuickBooks Online
        • QuickBooks Canada
        • QuickBooks Pro 2020
        • QuickBooks 2019
        • QuickBooks 2018
        • QuickBooks Pro 2017
        • QuickBooks Pro 2016
        • QuickBooks Pro 2015
        • QuickBooks Pro 2014
        • QuickBooks Pro 2013
        • QuickBooks Pro 2012
        • QuickBooks Pro 2011
        • QuickBooks Pro 2010
        • QuickBooks Pro 2009
    • Web Development
      • AngularJs
        • AngularJS Crash Course
      • Dreamweaver
        • Dreamweaver CC
        • Dreamweaver CS6
        • Dreamweaver CS5
        • Dreamweaver CS4
      • Bootstrap
        • Bootstrap Framework
      • Html/CSS
        • HTML/CSS Crash Course
        • HTML5 Essentials
      • Python
        • Python Object-Oriented Programming
        • Pandas for Beginners
        • Introduction to Python
      • Java
        • Java for Beginners
      • JavaScript
        • JavaScript for Beginners
        • jQuery Crash Course
      • MySql
        • MySQL for Beginners
      • PHP
        • PHP for Beginners
        • Advanced PHP Programming
      • XML
        • XML Crash Course
    • Data Analysis
      • Financial Modeling
        • Financial Risk Management
        • Financial Forecasting and Modeling
      • Data Analytics
        • Introduction to Analytics and Artificial Intelligence
        • Data Analytics in Excel
      • Alteryx
        • Alteryx Advanced
        • Introduction to Alteryx
      • Power BI
        • Power BI Intermediate
        • Power BI
      • Qlik Sense
        • Qlik Sense Advanced
        • Qlik Sense
      • R Programming
        • R Programming
      • Tableau
        • Tableau Desktop Advanced
        • Tableau Desktop
      • Python
        • Python Object-Oriented Programming
        • Pandas for Beginners
        • Introduction to Python
    • Work Productivity
      • Google Sheets
        • Google Sheets for Beginners
      • Confluence
        • Introduction to Confluence
      • Monday
        • Getting Started in Monday.com
      • Asana
        • Asana for Employees and Managers
        • Introduction to Asana
      • Jira
        • Getting Started in Jira
  • For Business
  • About Us
    • Testimonials
    • Contact Us
    • FAQ
    • Membership
    • About Us
  • Pricing
  • Free Resources
  • Sign In
  • Get Started
Home > Microsoft Excel > HLOOKUP vs VLOOKUP – 5 Key Differences

HLOOKUP vs VLOOKUP – 5 Key Differences

The  LOOKUP function works like an index page in a book where we look at the topic to locate its page number. You’ll find the LOOKUP functions like HLOOKUP, VLOOKUP, and XLOOKUP in Excel categorized under Lookup and Reference functions. The LOOKUP function finds a match by comparing cells in a row or column and returning the answer from another row or column.

In this guide, we will see a brief overview of the HLOOKUP vs VLOOKUP functions and see how they compare against each other.

You’ll learn:

  • HLOOKUP
  • VLOOKUP
  • HLOOKUP vs VLOOKUP – Example
  • HLOOKUP vs VLOOKUP – Key Differences

HLOOKUP

The HLOOKUP function in Excel searches for a value in the table horizontally. The lookup values must appear in the first row of the table and move horizontally towards the right.

Syntax

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

Parameters

  • lookup_value – Specifies the value to search across the cells.
  • table_array –  Specifies the table range where the lookup_value has to be searched.
  • row_index_num – It is the position of the row from where to get the result.
  • range_lookup –  It is an optional parameter and returns the exact match when FALSE is mentioned and returns the approximate match or closest match when TRUE is mentioned.

VLOOKUP

VLOOKUP stands for ‘Vertical Lookup’. It searches for a specified value in a column and returns the result from another column in the same row.

Syntax

=VLOOKUP ( lookup_value,table_array,col_index_num,[range_lookup)

Parameters

  • lookup_value – This is the value to search across the cells to get the match and return the corresponding value from the other column.
  • table_array – This argument takes the starting value and the ending value of the cell where the function has to search.
  • col_index_num – The value in this argument represents the exact index of the column to look into.
  • range _lookup – It accepts two values, one is TRUE, and another is FALSE.
    • The function returns the closest match if TRUE is mentioned.
    • The function returns the exact match if FALSE is mentioned.

This parameter is optional and returns TRUE by default if it is not mentioned in the formula.

HLOOKUP vs VLOOKUP – Example

HLOOKUP vs VLOOKUP
HLOOKUP vs VLOOKUP

In the example above, the HLOOKUP formula takes the lookup_value A2 which is the country,  US. The HLOOKUP function moves horizontally starting from the first row to the row number that you mention. The second parameter is the table_array which takes the ranges of cells across which the data is spread.

The third parameter takes a numeric value that mentions the position of the row from the first row. Here, it is the value 3, which refers to the third row from A2. The function returns the value Japan.

Similarly, the VLOOKUP formula can be parsed to check how it executes. Use the VLOOKUP formula when you move from one column to another, vertically. In the example above, the lookup_value is A4 and the value to fetch is in the third column. 

Mention the formula as, =VLOOKUP(A4,A2:D6,3,FALSE). The VLOOKUP formula takes the lookup_value, A4, and moves vertically three columns towards the right and picks up the value there, and returns it. Remember that the VLOOKUP formula cannot move backward from right to left.

A note of caution when you use the HLOOKUP formula is that it searches from top to bottom and cannot search from bottom up. Also, it searches from the starting cell of the table and not from anywhere inside the table.

Let’s look at the example below. The HLOOKUP formula takes A4 as the lookup_value. The table_array is mentioned as A2:D6, and the row_index_num is mentioned as 2. The function starts to look for a value in the second row and must return as the UK, but it returns as #N/A. 

The reason is that the HLOOKUP function looks at the lookup_value A4 and wants to proceed down. But the table_array parameter mentions the starting cell from A2, which requires the function to move upwards which HLOOKUP cannot do. Hence, it returns the message #N/A.

HLOOKUP cannot search from the bottom to the top
HLOOKUP cannot search from the bottom to the top

If your search starts from the middle of the table, then mention the formula as follows. =HLOOKUP(A4,A4:D6,2,FALSE). You can see that the table_array is also changed according to the lookup_value to make the formula search from A4 which it considers as the starting of the table.

HLOOKUP vs VLOOKUP – Key Differences

HLOOKUPVLOOKUP
1.It looks for values horizontally across the table.It looks for values vertically across the table.
2.HLOOKUP is useful when the data is arranged row-wise.VLOOKUP is used to compare and pick data arranged in columns.
3.This function searches from the top to the bottom and it cannot search the bottom-top.It searches from left to right and not in reverse.
4.It returns the value from the same column, a few rows apart.It returns the value from the same row but a few columns apart.
5.HLOOKUP is not widely used. VLOOKUP is extensively used.

Let’s Wrap Up

In this article, we learned about HLOOKUP vs VLOOKUP functions along with some examples, and the key differences between them. VLOOKUP is used more extensively than HLOOKUP because of common data arrangements. There is also a new function, called the XLOOKUP, which is a combination of HLOOKUP and VLOOKUP. But, XLOOKUP is only available in Excel for Office 365. Read our detailed guide on XLOOKUP vs VLOOKUP to learn more.

We hope you found this article useful. Please let us know if you face any difficulties while working with the LOOKUP functions. We are happy to help you.

Please visit our free resources section for more high-quality Excel guides.

Ready to upskill your Excel knowledge? Simon Sez IT has been teaching Excel for over ten years. For a low, monthly fee you can get access to 130+ training courses. Click here for advanced Excel courses with in-depth training modules.

Simon Calder

Chris “Simon” Calder was working as a Project Manager in IT for one of Los Angeles’ most prestigious cultural institutions, LACMA. He taught himself to use Microsoft Project from a giant textbook and hated every moment of it. Online learning was in its infancy then, but he spotted an opportunity and made an online MS Project course - the rest, as they say, is history!

Most Popular Posts

  • Kanban vs Scrum: Project Management Methodologies and Their Differences [2022]
  • How to Insert a Checkbox in Excel? 3 EASY Examples
  • How to Autofit Excel Cells? 3 Best Methods
  • XLOOKUP Google Sheets – 4 Best Alternatives!
  • Dashboards in Excel Using Pivot Tables, Pivot Charts and Slicers
  • Free Microsoft Project Training Course
  • Free Microsoft Access Tutorial for Beginners (3.5 Hours Video)
  • How to Use Blending Mode With Layers in Adobe Photoshop Elements 15

Similar Posts

How to Make an Excel Bullet Chart – 2 Easy Examples

How to Hide Formula Bar in Excel (and Show)? 3 Easy Ways

How to Setup a Chart of Accounts in Quickbooks Pro 2012

Free Microsoft Access Tutorial for Beginners (3.5 Hours Video)

Excel Bootcamp for Employees (100+ Best Courses)

What’s New in Windows 11 – Recorded Webinar

Course Categories

  • Adobe
  • Data Analysis
  • QuickBooks
  • Microsoft
  • Web Development
  • Work Productivity

About Us

  • About Us
  • Free Resources
  • Affiliates
  • Become an Instructor

Products

  • Pricing and Plans
  • Business Pricing
  • Government Discounts
  • Non-Profit Discounts

Support

  • FAQ’s
  • Contact Us
  • DVD support

Connect

YoutubeFacebookLinkedIn
© 2023 Simon Sez IT, Inc.
  • Terms
  • Privacy Policy
  • Sitemap
888.817.6665 Monday thru Friday 7:30 a.m. - 5:00 p.m. (ET)