HLOOKUP searches for a value in the first row of a table and returns a value in the same column from a row you specify.
Click to reveal answer
beginner
What are the four arguments of the HLOOKUP function?
The four arguments are: 1. lookup_value: the value to find in the first row. 2. table_array: the range of cells to search. 3. row_index_num: the row number to return a value from. 4. range_lookup: TRUE for approximate match or FALSE for exact match.
Click to reveal answer
beginner
How does setting the range_lookup argument to FALSE affect HLOOKUP?
Setting range_lookup to FALSE makes HLOOKUP look for an exact match only. If it doesn't find the exact value, it returns an error.
Click to reveal answer
beginner
Example: =HLOOKUP("Jan", A1:D3, 2, FALSE) What does this formula do?
It looks for "Jan" in the first row of the range A1:D3. If found, it returns the value from the second row in the same column as "Jan". It requires an exact match.
Click to reveal answer
intermediate
What happens if HLOOKUP cannot find the lookup_value and range_lookup is TRUE?
HLOOKUP returns the closest smaller value found in the first row. The first row must be sorted in ascending order for this to work correctly.
Click to reveal answer
What row does HLOOKUP search for the lookup_value?
AFirst column of the table_array
BFirst row of the table_array
CLast row of the table_array
DLast column of the table_array
✗ Incorrect
HLOOKUP always searches the first row of the table_array for the lookup_value.
What does the row_index_num argument specify in HLOOKUP?
AThe number of matches to find
BThe column number to search
CThe row number to return a value from
DThe number of rows to skip
✗ Incorrect
row_index_num tells HLOOKUP which row's value to return from the matched column.
If you want an exact match with HLOOKUP, what should range_lookup be set to?
AFALSE
BTRUE
C0
D1
✗ Incorrect
Setting range_lookup to FALSE forces HLOOKUP to find an exact match.
What happens if HLOOKUP does not find an exact match and range_lookup is FALSE?
AReturns the closest smaller value
BReturns the first value in the row
CReturns zero
DReturns an error
✗ Incorrect
With range_lookup FALSE, no exact match causes HLOOKUP to return an error.
For approximate match (range_lookup TRUE), what must be true about the first row?
AIt must be sorted in ascending order
BIt must be sorted in descending order
CIt must contain only numbers
DIt must have unique values
✗ Incorrect
The first row must be sorted ascending for approximate match to work correctly.
Explain how the HLOOKUP function works and when you would use it.
Think about looking up a month name in a header row to find sales data below.
You got /4 concepts.
Describe the role of the range_lookup argument in HLOOKUP and how it affects the result.
Consider what happens if you want to find a price for a specific product code exactly or the closest available.
You got /4 concepts.
Practice
(1/5)
1. What does the HLOOKUP function do in Excel?
easy
A. It adds all numbers in a horizontal range.
B. It searches for a value in the first column and returns a value from a specified column to the right.
C. It searches for a value in the top row and returns a value from a specified row below.
D. It sorts data horizontally in ascending order.
Solution
Step 1: Understand the function purpose
The HLOOKUP function looks horizontally in the top row of a table to find a match.
Step 2: Identify the return value
Once it finds the match, it returns a value from a specified row below that top row.
Final Answer:
It searches for a value in the top row and returns a value from a specified row below. -> Option C
Quick Check:
HLOOKUP = horizontal lookup [OK]
Hint: HLOOKUP looks horizontally in the top row for a match [OK]
Common Mistakes:
Confusing HLOOKUP with VLOOKUP which searches vertically
Thinking it sums values instead of looking up
Assuming it sorts data
2. Which of the following is the correct syntax for the HLOOKUP function?
easy
A. HLOOKUP(lookup_value, row_index_num, table_array, [range_lookup])
B. HLOOKUP(table_array, lookup_value, row_index_num, [range_lookup])
C. HLOOKUP(row_index_num, lookup_value, table_array, [range_lookup])
D. HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup])
Solution
Step 1: Recall the function parameter order
The correct order is: lookup_value, table_array, row_index_num, and optional range_lookup.
Step 2: Match with options
HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup]) matches this order exactly.
Final Answer:
HLOOKUP(lookup_value, table_array, row_index_num, [range_lookup]) -> Option D
Quick Check:
Syntax order matters in HLOOKUP [OK]
Hint: Remember: lookup_value first, then table, then row number [OK]
Common Mistakes:
Swapping lookup_value and table_array
Putting row_index_num before table_array
Omitting required parameters
3. Given the table below in cells A1:D3:
Jan
Feb
Mar
Sales
100
150
200
Profit
30
50
70
What is the result of =HLOOKUP("Feb", A1:D3, 3, FALSE)?
medium
A. 70
B. 150
C. 50
D. Error
Solution
Step 1: Locate "Feb" in the top row
"Feb" is found in cell C1, which is the third column.
Step 2: Return value from row 3 in that column
Row 3, column C contains 70 (Profit for Feb).
Final Answer:
70 -> Option A
Quick Check:
HLOOKUP finds Feb then returns row 3 value 70 [OK]
Hint: Match top row, then pick value from given row number [OK]
Common Mistakes:
Returning value from wrong row (e.g., row 2 instead of 3)
Confusing columns and rows
Using approximate match instead of exact
4. You wrote the formula =HLOOKUP("Q2", A1:D3, 2) but it returns incorrect data. What is the likely problem?
medium
A. You forgot to set the fourth argument to FALSE for exact match.
B. The lookup_value "Q2" is not in the top row of the table.
C. The row_index_num is too high and exceeds the table rows.
D. The table_array is missing dollar signs ($) for absolute reference.
Solution
Step 1: Check if lookup_value exists in top row
If "Q2" is not found in the top row, HLOOKUP cannot find a match.
Step 2: Understand impact of missing lookup_value
Without the value, the function returns wrong or #N/A error regardless of other parameters.
Final Answer:
The lookup_value "Q2" is not in the top row of the table. -> Option B
Quick Check:
Lookup value must be in top row [OK]
Hint: Ensure lookup_value is exactly in the top row [OK]
Common Mistakes:
Assuming approximate match works without FALSE
Using wrong row_index_num
Thinking absolute references fix lookup errors
5. You have a table with months in the top row (A1:D1) and sales data in rows below. You want to find the sales for "Mar" but the months are not sorted alphabetically. Which formula will always return the exact sales value for "Mar"?
hard
A. =HLOOKUP("Mar", A1:D3, 2, FALSE)
B. =HLOOKUP("Mar", A1:D3, 2)
C. =HLOOKUP("Mar", A1:D3, 3)
D. =HLOOKUP("Mar", A1:D3, 2, TRUE)
Solution
Step 1: Understand the range_lookup argument
TRUE or omitted means approximate match, which requires sorted top row.
Step 2: Choose exact match for unsorted data
FALSE forces exact match, so it works even if months are not sorted.
Step 3: Verify row_index_num
Row 2 contains sales data, so row_index_num should be 2.
Final Answer:
=HLOOKUP("Mar", A1:D3, 2, FALSE) -> Option A
Quick Check:
Use FALSE for exact match with unsorted data [OK]
Hint: Use FALSE for exact match when data is unsorted [OK]
Common Mistakes:
Omitting FALSE and getting wrong approximate results
Using wrong row_index_num
Assuming TRUE works for unsorted data
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.