How to use the HLOOKUP function in Excel

How to use the HLOOKUP function in Excel


How to use the HLOOKUP function in Excel

Learn how to use the HLOOKUP function in Microsoft Excel. This tutorial demonstrates how to use Excel HLOOKUP with an easy to follow example and takes you step-by-step through the different options when entering your formula.

HLOOKUP Function (and sample data):
https://www.techonthenet.com/excel/fo

Excel Tutorials:
https://www.techonthenet.com/excel/in

Don’t forget to subscribe to our channel for more great Excel tutorials!

Visit us at: https://www.techonthenet.com
or follow us on:

Facebook: https://www.facebook.com/techonthenetcom
Twitter: https://twitter.com/tech_on_the_net
Pinterest: https://www.pinterest.com/techonthene


Content

0 -> HLOOKUP is one of Excel's more powerful Lookup functions
4.04 -> If your data is organized into horizontal rows, you can use the HLOOKUP function
9.46 -> to search for a value in the first row of your data table and return a corresponding value from another row
15.9 -> The easiest way to understand this function is to look at an example
20.4 -> So let's get started
22.08 -> Here we have a table of data containing order information
26.1 -> We can use HLOOKUP to locate a unit price based on a particular Order ID value
32.54 -> To get started, let's begin by entering the HLOOKUP command
36.38 -> As you can see, the HLOOKUP function takes 4 parameters
41.34 -> The first parameter that we will enter is the value that we are trying to locate in the first row of the table
48.02 -> In our example, we want to search for Order ID number 10251
54.08 -> The second parameter we will need to enter is the table or source of the data HLOOKUP will use
60.9 -> The range provided must include both the first row that will be searched for our first parameter value
66.74 -> and the row containing our hopeful result
70.18 -> You can provide either a range of cells or a named range for this parameter
75.5 -> For example, we will enter the range A1:G3
80.56 -> The third parameter we must enter is the position number in the table where the return value can be found
87.48 -> A value of 1 indicates the first row in the table, a value of 2 indicates the second row and so on
94.42 -> Since we are looking for the Unit Price, we will enter a 2 which represents cells A2:G2
103.22 -> Finally and most importantly is HLOOKUP's fourth parameter
107.6 -> This parameter determines whether an exact match
110.68 -> or an approximate match will be done when looking for the first parameter
115.06 -> A value of FALSE means that HLOOKUP is looking for an exact match
120.36 -> A value of TRUE means that an approximate or close match will be returned
125.62 -> Unless you have a specific reason for looking for an approximate match
129.68 -> you should always use FALSE to return an exact match
133.086 -> Otherwise the HLOOKUP could return some unexpected results
137.04 -> Now that we have entered all of HLOOKUP's parameters, let's complete the command to examine the result
143.2 -> You should see the unit price of $16.80 appear
147.86 -> $16.80 is the unit price that corresponds to the Order ID number 10251 that we searched for
156.28 -> This covers a simple example of how to use Excel's HLOOKUP function
160.76 -> If you would like to see more HLOOKUP examples
163.8 -> or you would like to download the sample data we used for this tutorial
167.36 -> please visit our website TechOnTheNet.com
170.58 -> If you found our tutorial helpful, please leave a like on this video
174.64 -> and don't forget to subscribe to our YouTube channel for more great Excel tutorials

Source: https://www.youtube.com/watch?v=rNlie4RGdCU