0
0
Excelspreadsheet~20 mins

INDEX function in Excel - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
INDEX Function Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
query_result
intermediate
2:00remaining
What is the output of this INDEX formula?

Given the table below in Excel cells A1:B4:

A1: Name  B1: Score
A2: Anna  B2: 85
A3: Ben   B3: 90
A4: Cara  B4: 78

What is the result of the formula =INDEX(B2:B4, 2)?

A90
B85
C78
D#REF!
Attempts:
2 left
💡 Hint

Remember, INDEX returns the value at the given position in the range.

query_result
intermediate
2:00remaining
What does this INDEX formula return with row and column numbers?

Given the table in cells A1:C3:

A1: Product  B1: Price  C1: Stock
A2: Pen      B2: 1.5    C2: 100
A3: Book     B3: 12     C3: 50

What is the result of =INDEX(A1:C3, 3, 2)?

A12
B50
CBook
DStock
Attempts:
2 left
💡 Hint

INDEX with two numbers returns the value at the intersection of that row and column.

🔧 Formula Fix
advanced
2:00remaining
Which INDEX formula is syntactically correct?

Choose the correct syntax for the INDEX function to return the 4th item from range D1:D10.

A=INDEX(D1:D10,)
B=INDEX(D1:D10; 4)
C=INDEX(D1:D10, 4)
D=INDEX(D1:D10 4)
Attempts:
2 left
💡 Hint

Check the correct use of commas and parentheses in Excel formulas.

optimization
advanced
2:00remaining
Which INDEX formula efficiently returns the last value in a column?

Given a column of numbers in A1:A100, which formula returns the last non-empty value efficiently?

A=INDEX(A1:A100, 100)
B=INDEX(A1:A100, COUNTA(A1:A100))
C=INDEX(A1:A100, MATCH(9.99999999999999E+307, A1:A100))
D=INDEX(A1:A100, ROWS(A1:A100))
Attempts:
2 left
💡 Hint

Think about how to count non-empty cells to find the last value.

🧠 Conceptual
expert
2:00remaining
What error occurs with this INDEX formula and why?

Consider the formula =INDEX(B2:B5, 0). What error does it produce and why?

A#VALUE! error because row number cannot be zero
BReturns the entire range B2:B5
CReturns the first item in B2:B5
D#REF! error because zero is out of range
Attempts:
2 left
💡 Hint

Check the valid row numbers for INDEX function.