0
0
Google Sheetsspreadsheet~20 mins

INDEX and MATCH combination in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
INDEX and MATCH Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
query_result
intermediate
2:00remaining
Find the price of a product using INDEX and MATCH

You have a table with product names in column A and their prices in column B. Which formula correctly returns the price of the product named "Apple"?

Google Sheets
A1:A5 = {"Banana", "Apple", "Orange", "Grape", "Mango"}
B1:B5 = {1.2, 2.5, 1.8, 3.0, 2.0}
A=INDEX(B1:B5, MATCH("Apple", B1:B5, 0))
B=MATCH("Apple", B1:B5, 0)
C=INDEX(A1:A5, MATCH(2.5, B1:B5, 0))
D=INDEX(B1:B5, MATCH("Apple", A1:A5, 0))
Attempts:
2 left
💡 Hint

Use MATCH to find the row number of "Apple" in the product list, then INDEX to get the price from the price list.

query_result
intermediate
2:00remaining
Retrieve employee department using INDEX and MATCH

Given a list of employees in column A and their departments in column B, which formula returns the department of "John"?

Google Sheets
A1:A4 = {"Anna", "John", "Mike", "Sara"}
B1:B4 = {"HR", "Finance", "IT", "Marketing"}
A=INDEX(B1:B4, MATCH("John", A1:A4, 0))
B=MATCH("John", B1:B4, 0)
C=INDEX(A1:A4, MATCH("Finance", B1:B4, 0))
D=INDEX(B1:B4, MATCH("John", B1:B4, 0))
Attempts:
2 left
💡 Hint

Find the row of "John" in the employee list, then get the department from the department list.

🔧 Formula Fix
advanced
2:00remaining
Identify the syntax error in INDEX and MATCH formula

Which option contains a syntax error in the formula to find the price of "Orange"?

Google Sheets
A1:A5 = {"Banana", "Apple", "Orange", "Grape", "Mango"}
B1:B5 = {1.2, 2.5, 1.8, 3.0, 2.0}
A=INDEX(B1:B5, MATCH("Orange", A1:A5, 0))
B=INDEX(B1:B5 MATCH("Orange", A1:A5, 0))
C=INDEX(B1:B5, MATCH("Orange", A1:A5))
D))0 ,5A:1A ,"egnarO"(HCTAM ,5B:1B(XEDNI=
Attempts:
2 left
💡 Hint

Check for missing commas or parentheses in the formula.

optimization
advanced
2:00remaining
Optimize formula to avoid volatile functions

You want to find the department of "Sara" without using volatile functions. Which formula is the best choice?

Google Sheets
A1:A4 = {"Anna", "John", "Mike", "Sara"}
B1:B4 = {"HR", "Finance", "IT", "Marketing"}
A=INDEX(B1:B4, MATCH("Sara", A1:A4, 0))
B=VLOOKUP("Sara", A1:B4, 2, FALSE)
C=INDEX(B1:B4, MATCH("Sara", A1:A4))
D=FILTER(B1:B4, A1:A4="Sara")
Attempts:
2 left
💡 Hint

Consider which functions are volatile and which are not.

🧠 Conceptual
expert
3:00remaining
Understanding behavior of INDEX and MATCH with multiple matches

Given the data below, what will the formula =INDEX(B1:B6, MATCH("Apple", A1:A6, 0)) return?

Data:

A1:A6 = {"Banana", "Apple", "Orange", "Apple", "Grape", "Apple"}

B1:B6 = {1, 2, 3, 4, 5, 6}

A6
B4
C2
D#N/A error
Attempts:
2 left
💡 Hint

MATCH returns the position of the first exact match it finds.