0
0
Google Sheetsspreadsheet~20 mins

AVERAGE function in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style9 modes available
Challenge - 5 Problems
🎖️
AVERAGE Function Master
Get all challenges correct to earn this badge!
Test your skills under time pressure!
📊 Formula Result
intermediate
2:00remaining
Calculate average ignoring empty cells
Given the values in cells A1 to A5 as 10, 20, , 40, 50 (where the third cell is empty), what is the result of the formula =AVERAGE(A1:A5)?
A24
B25
C30
D20
Attempts:
2 left
💡 Hint
Remember that empty cells are ignored in AVERAGE calculation.
Function Choice
intermediate
2:00remaining
Choose the correct formula to average only positive numbers
You have numbers in B1:B6: 5, -3, 8, 0, -1, 7. Which formula correctly calculates the average of only the positive numbers?
A=AVERAGEIF(B1:B6, "<0")
B=AVERAGE(B1:B6>0)
C=AVERAGE(B1:B6, ">0")
D=AVERAGEIF(B1:B6, ">0")
Attempts:
2 left
💡 Hint
Use AVERAGEIF to filter values based on a condition.
📊 Formula Result
advanced
2:00remaining
AVERAGE with mixed data types
Cells C1 to C5 contain: 10, "text", 20, TRUE, 30. What is the result of =AVERAGE(C1:C5)?
A20
B15
CError
D25
Attempts:
2 left
💡 Hint
AVERAGE ignores text and logical values unless they are numbers.
🎯 Scenario
advanced
2:00remaining
Calculate average excluding zeros
You want to find the average of values in D1:D7 but exclude zeros from the calculation. Which formula should you use?
A=AVERAGE(D1:D7, "<>0")
B=AVERAGEIF(D1:D7, "<>0")
C=AVERAGEIF(D1:D7, "=0")
D=AVERAGE(D1:D7)-0
Attempts:
2 left
💡 Hint
Use AVERAGEIF with a condition to exclude zeros.
data_analysis
expert
3:00remaining
Find the average of last 3 entries in a growing list
Column E has a list of numbers starting from E1 downwards. The list grows over time. Which formula calculates the average of the last 3 numeric entries in column E, assuming no blanks between them?
A=AVERAGE(OFFSET(E1, COUNTA(E:E)-3, 0, 3, 1))
B=AVERAGE(E1:E3)
C=AVERAGE(OFFSET(E1, COUNTA(E:E), 0, 3, 1))
D=AVERAGE(E:INDEX(E:E, COUNTA(E:E)-3))
Attempts:
2 left
💡 Hint
Use OFFSET with COUNTA to dynamically select last 3 cells.