Bird
Raised Fist0
Google Sheetsspreadsheet~20 mins

AVERAGE function in Google Sheets - Practice Problems & Coding Challenges

Choose your learning style10 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.

Practice

(1/5)
1. What does the AVERAGE function do in Google Sheets?
easy
A. It adds all numbers and divides by the count of numbers.
B. It finds the biggest number in a list.
C. It counts how many numbers are in a list.
D. It multiplies all numbers together.

Solution

  1. Step 1: Understand the purpose of AVERAGE

    The AVERAGE function sums all numeric values in a range and divides by how many numbers there are.
  2. Step 2: Compare options with definition

    Only It adds all numbers and divides by the count of numbers. correctly describes this behavior.
  3. Final Answer:

    It adds all numbers and divides by the count of numbers. -> Option A
  4. Quick Check:

    AVERAGE = sum รท count [OK]
Hint: AVERAGE means sum numbers then divide by count [OK]
Common Mistakes:
  • Thinking AVERAGE finds the biggest number
  • Confusing AVERAGE with COUNT
  • Assuming it multiplies numbers
2. Which of these is the correct way to write the AVERAGE formula for cells A1 to A5?
easy
A. =AVERAGE{A1:A5}
B. =AVERAGE[A1:A5]
C. =AVERAGE(A1:A5)
D. =AVERAGE A1:A5

Solution

  1. Step 1: Recall correct formula syntax

    Google Sheets formulas use parentheses () to enclose cell ranges or arguments.
  2. Step 2: Check each option

    Only =AVERAGE(A1:A5) uses parentheses correctly: =AVERAGE(A1:A5). Others use brackets, braces, or no parentheses, which are invalid.
  3. Final Answer:

    =AVERAGE(A1:A5) -> Option C
  4. Quick Check:

    Formulas need parentheses () [OK]
Hint: Use parentheses () for function arguments [OK]
Common Mistakes:
  • Using square brackets [] instead of parentheses
  • Using curly braces {} incorrectly
  • Omitting parentheses
3. Given the values in cells A1=10, A2=20, A3=, A4="text", A5=30, what is the result of =AVERAGE(A1:A5)?
medium
A. Error
B. 15
C. 25
D. 20

Solution

  1. Step 1: Identify numeric values in range

    Cells A1=10, A2=20, A5=30 are numbers; A3 is empty and A4 is text, both ignored by AVERAGE.
  2. Step 2: Calculate average of numbers

    Sum = 10 + 20 + 30 = 60; Count = 3; Average = 60 รท 3 = 20.
  3. Final Answer:

    20 -> Option D
  4. Quick Check:

    Ignore empty/text, average numbers only [OK]
Hint: AVERAGE ignores empty cells and text [OK]
Common Mistakes:
  • Including empty cells in count
  • Including text as zero
  • Expecting error due to text
4. The formula =AVERAGE(A1:A4, 10) returns an error. What is the likely cause?
medium
A. The syntax is incorrect; extra parentheses needed.
B. The formula is correct; error is elsewhere.
C. You cannot mix ranges and single numbers in AVERAGE.
D. You must separate arguments with semicolons, not commas.

Solution

  1. Step 1: Verify formula syntax

    =AVERAGE(A1:A4, 10) is valid in Google Sheets; AVERAGE can take a range and a constant value as arguments.
  2. Step 2: Determine error source

    Since the syntax is correct, the error must originate elsewhere, such as invalid data in A1:A4, cell references, or spreadsheet settings.
  3. Final Answer:

    The formula is correct; error is elsewhere. -> Option B
  4. Quick Check:

    AVERAGE(range, number) is valid [OK]
Hint: AVERAGE accepts ranges + numbers; check data/range [OK]
Common Mistakes:
  • Assuming mixing ranges and numbers is invalid
  • Using wrong argument separators
  • Missing equal sign at start
5. You have sales data in cells B2:B10, but some cells contain text notes. Which formula correctly calculates the average sales ignoring text?
hard
A. =AVERAGE(B2:B10)
B. =SUM(B2:B10)/COUNTA(B2:B10)
C. =AVERAGEIF(B2:B10, ">0")
D. =AVERAGE(B2:B10, "text")

Solution

  1. Step 1: Understand how AVERAGE handles text

    AVERAGE automatically ignores text and empty cells when calculating the average.
  2. Step 2: Evaluate each option

    =AVERAGE(B2:B10) uses AVERAGE directly, which works correctly. =SUM(B2:B10)/COUNTA(B2:B10) counts text cells, causing wrong divisor. =AVERAGEIF(B2:B10, ">0") averages only numbers >0, excluding zeros. =AVERAGE(B2:B10, "text") includes text as argument, causing error.
  3. Final Answer:

    =AVERAGE(B2:B10) -> Option A
  4. Quick Check:

    AVERAGE ignores text automatically [OK]
Hint: Use AVERAGE directly; it skips text cells [OK]
Common Mistakes:
  • Using COUNTA which counts text too
  • Trying to filter numbers manually
  • Adding text as argument causing errors
Recommended

Ready to prove it?

Pass the test and this pattern moves unknown strong while earning +1 Grip toward your certificate.

10 questions~5 mineasy hard