How to use Hlookup function on Excel
One of the most commonly used Excel search functions is Hlookup function. Hlookup function basically also has the function syntax and features like VLOOKUP function, which is to help users find data in Excel table, with the conditions or given information.
Both of these functions are Excel basic functions , with simple usage. However, if you use Vlookup function to search for pre-defined conditions by column, Hlookup function will search by line. That is, the user will specify the conditional line in Excel and then use the Hlookup function to find the exact value. When using these two search functions, the column or specified line element that makes good information will play a role in determining the search direction of the function we want to use. Alternatively, you can combine Vlookup and Hlookup functions with other functions to use.
The following article will guide you how to use Hlookup function on Excel.
- Use VLOOKUP to join two Excel tables together
- How to combine Sumif and Vlookup functions in Excel
- Summary of expensive shortcuts in Microsoft Excel
How to use Hlookup Excel function
The syntax of Hlookup function in Excel is
- = Hlookup (probe value, detector value table, order number, search range)
Inside:
- Detector value table: Must be in the absolute address (by selecting the table and pressing F4), when choosing not to scan the title.
- Search scope: If False (0) performs a correct search, True (1) is a relative detection.
We will classify grade point average with the data table below. You will need to use the Hlookup function.
Step 1:
In the first cell of the Sort column of average grades for students, we enter the input formula in cell C3 as: = HLOOKUP (B3, $ A $ 9: $ E $ 10,2,1) , then press Enter. The number 2 here will be the Sort line in the Excel table with the given condition, 1 will be TRUE relative detection.
Step 2:
The result then we will be graded for the first student as shown below. The formula has been based on students' average scale and grading criteria for students.
We pull down the remaining boxes to complete the average score for students.
Thus, we have instructed you how to use Hlookup function to search data in the table with given conditions and information. The function will return to the user the exact result based on the conditions set. We can also combine Hlookup with SumIf function with Excek tables that require more data filtering skills.
I wish you all success!
You should read it
- LOOKUP function searches in Excel
- Basic Excel functions that anyone must know
- How to use the Search function in Excel
- How to use the INDEX function in excel?
- How to fix the SUM function doesn't add up in Excel
- How to use the LEN function in Excel
- How to use Excel's VALUE function
- Office 365 has officially added the XLOOKUP function for Excel
- How to use MID functions to get strings in Excel
- How to use the LOOKUP function in excel?
- How to use the SUM function to calculate totals in Excel
- How to use the IFS function in Excel 2016
Maybe you are interested
Difference between function and formula in Excel
8 little-known Excel functions that can save you a lot of work
How to use the NORMDIST function in Excel - Function that returns the distribution in Excel
Date functions in Excel, DAY, WEEKDAY, MONTH
How to use the SUMIF function in Excel to calculate the sum based on conditions
How to use the Round function in Excel to round numbers and process data