The INDEX function returns the value of a cell at a specific row and column in a given range.
Click to reveal answer
beginner
What is the purpose of the MATCH function in Google Sheets?
MATCH finds the position of a value in a range, returning the relative row or column number.
Click to reveal answer
intermediate
How do INDEX and MATCH work together?
MATCH finds the position of a value, and INDEX uses that position to return the actual value from another range.
Click to reveal answer
intermediate
Write a simple formula using INDEX and MATCH to find a price in a product list.
Example: =INDEX(B2:B10, MATCH("Apple", A2:A10, 0)) This finds 'Apple' in A2:A10 and returns the price from B2:B10 at the same row.
Click to reveal answer
advanced
Why is INDEX and MATCH combination better than VLOOKUP?
INDEX and MATCH can look left or right, is faster on large data, and doesn’t break if columns are added or removed.
Click to reveal answer
What does MATCH return in Google Sheets?
AThe sum of values in the range
BThe value found in the range
CThe position of the value in the range
DThe average of values in the range
✗ Incorrect
MATCH returns the position (row or column number) of the searched value within the range.
Which function returns a value from a specific position in a range?
AINDEX
BSUM
CVLOOKUP
DMATCH
✗ Incorrect
INDEX returns the value at a given row and column in a range.
In the formula =INDEX(B2:B10, MATCH("Apple", A2:A10, 0)), what does the 0 in MATCH mean?
AFinds the closest match
BFinds an exact match
CIgnores case sensitivity
DSearches from bottom to top
✗ Incorrect
The 0 tells MATCH to find an exact match.
Why might you choose INDEX and MATCH over VLOOKUP?
ABecause INDEX and MATCH are easier to write
BBecause VLOOKUP is slower
CBecause VLOOKUP can only sum values
DBecause INDEX and MATCH can look left and right
✗ Incorrect
INDEX and MATCH can look up values to the left or right, unlike VLOOKUP which only looks right.
What will =INDEX(A1:C3, 2, 3) return?
AValue in row 2, column 3
BValue in row 1, column 3
CValue in row 3, column 2
DValue in row 3, column 1
✗ Incorrect
INDEX returns the value at row 2, column 3 of the range A1:C3.
Explain how you would use INDEX and MATCH together to find a value in a table.
Think about how MATCH locates the row and INDEX retrieves the data.
You got /3 concepts.
Describe one advantage of using INDEX and MATCH over VLOOKUP.
Consider flexibility and reliability when table structure changes.
You got /3 concepts.
Practice
(1/5)
1. What does the INDEX function do in Google Sheets when combined with MATCH?
easy
A. Deletes duplicate values from a range
B. Finds the position of a value in a range
C. Sorts the data in ascending order
D. Returns the value at a specific position in a range
Solution
Step 1: Understand the role of INDEX
The INDEX function returns the value located at a specific row and column in a given range.
Step 2: Understand the role of MATCH
The MATCH function finds the position (row or column number) of a specific value within a range.
Final Answer:
Returns the value at a specific position in a range -> Option D
Quick Check:
INDEX returns value, MATCH finds position [OK]
Hint: INDEX gives value; MATCH gives position [OK]
Common Mistakes:
Confusing INDEX with MATCH roles
Thinking INDEX sorts data
Assuming MATCH returns values
2. Which of the following is the correct syntax to use INDEX and MATCH together to find a value in column B based on a lookup value in column A?
easy
A. =INDEX(A1:A10, MATCH(B1:B10, "Apple", 0))
B. =MATCH(B1:B10, INDEX("Apple", A1:A10, 0))
C. =INDEX(B1:B10, MATCH("Apple", A1:A10, 0))
D. =MATCH("Apple", B1:B10, INDEX(A1:A10, 0))
Solution
Step 1: Check INDEX syntax
INDEX(range, row_number) returns value at row_number in range.
Step 2: Check MATCH syntax
MATCH(lookup_value, lookup_range, 0) finds exact position of lookup_value in lookup_range.
Step 3: Combine correctly
Use MATCH to find row in A1:A10, then INDEX to get value from B1:B10 at that row.
Final Answer:
=INDEX(B1:B10, MATCH("Apple", A1:A10, 0)) -> Option C
Quick Check:
INDEX(B, MATCH(value, A)) correct syntax [OK]
Hint: MATCH finds row, INDEX returns value at that row [OK]
Common Mistakes:
Swapping INDEX and MATCH arguments
Using MATCH on wrong range
Incorrect order of parameters
3. Given the data: A1:A4 = {"Cat", "Dog", "Bird", "Fish"} B1:B4 = {5, 3, 8, 2} What is the result of =INDEX(B1:B4, MATCH("Bird", A1:A4, 0))?
medium
A. 3
B. 8
C. 2
D. 5
Solution
Step 1: Find position of "Bird" in A1:A4 using MATCH
"Bird" is at position 3 in A1:A4.
Step 2: Use INDEX to get value at position 3 in B1:B4
Value at B3 is 8.
Final Answer:
8 -> Option B
Quick Check:
INDEX(B, MATCH("Bird", A)) = 8 [OK]
Hint: MATCH finds row 3, INDEX returns B3 = 8 [OK]
Common Mistakes:
Confusing row numbers
Using wrong ranges
Assuming MATCH returns value
4. You wrote the formula =INDEX(B1:B5, MATCH("Orange", A1:A5, 0)) but it returns an error. What is the most likely cause?
medium
A. The value "Orange" is not found in A1:A5
B. The ranges B1:B5 and A1:A5 have different sizes
C. INDEX cannot be combined with MATCH
D. MATCH requires a third argument of 1 or -1
Solution
Step 1: Understand MATCH error
MATCH returns #N/A error if lookup value is not found in the range.
Step 2: Check if "Orange" exists in A1:A5
If "Orange" is missing, MATCH fails and INDEX cannot get a valid row.
Final Answer:
The value "Orange" is not found in A1:A5 -> Option A
Quick Check:
MATCH missing value causes error [OK]
Hint: Check if lookup value exists before using MATCH [OK]
Common Mistakes:
Assuming INDEX and MATCH can't combine
Ignoring #N/A from MATCH
Wrong MATCH match_type argument
5. You have a table with names in A2:A10 and scores in B2:B10. You want to find the score of the name in D2, but if the name is not found, return "Not Found" instead of an error. Which formula correctly does this?
hard
A. =IFERROR(INDEX(B2:B10, MATCH(D2, A2:A10, 0)), "Not Found")
B. =INDEX(B2:B10, MATCH(D2, A2:A10, 0)) & "Not Found"
C. =IF(ISERROR(MATCH(D2, A2:A10, 0)), "Not Found", INDEX(B2:B10, D2))
D. =MATCH(D2, A2:A10, 0) & INDEX(B2:B10, D2)
Solution
Step 1: Use MATCH to find position of D2 in A2:A10
MATCH(D2, A2:A10, 0) finds exact row of the name.
Step 2: Use INDEX to get score from B2:B10 at that position
INDEX(B2:B10, MATCH(...)) returns the score.
Step 3: Use IFERROR to catch errors if name not found
IFERROR(..., "Not Found") returns "Not Found" instead of error.
Final Answer:
=IFERROR(INDEX(B2:B10, MATCH(D2, A2:A10, 0)), "Not Found") -> Option A
Quick Check:
IFERROR wraps INDEX-MATCH to handle missing names [OK]
Hint: Wrap INDEX-MATCH with IFERROR for safe lookup [OK]
Common Mistakes:
Concatenating strings instead of handling errors
Using ISERROR with repeated MATCH calls
Incorrect argument order in MATCH
Recommended
Ready to prove it?
Pass the test and this pattern moves unknownstrongwhile earning +1 Grip toward your certificate.