Bird
Raised Fist0
Excelspreadsheet~10 mins

Value fields and aggregation in Excel - Interactive Code Practice

Choose your learning style10 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the formula to sum values in cells A1 to A5.

Excel
=SUM([1])
Drag options to blanks, or click blank then click option'
AA1+A5
BA1:A5
CSUM(A1, A5)
DA1-A5
Attempts:
3 left
๐Ÿ’ก Hint
Common Mistakes
Using plus signs instead of a range.
Trying to subtract cells instead of summing.
Using incorrect syntax inside SUM.
2fill in blank
medium

Complete the formula to calculate the average of values in cells B2 to B6.

Excel
=AVERAGE([1])
Drag options to blanks, or click blank then click option'
AB2-B6
BB2,B6
CB2:B6
DB2+B6
Attempts:
3 left
๐Ÿ’ก Hint
Common Mistakes
Using subtraction or addition instead of a range.
Separating cells with commas incorrectly.
Not using a proper range format.
3fill in blank
hard

Fix the error in the formula to count how many cells in C1 to C10 contain numbers.

Excel
=COUNT([1])
Drag options to blanks, or click blank then click option'
AC1:C10
BC1,C10
CC1+C10
DC1-C10
Attempts:
3 left
๐Ÿ’ก Hint
Common Mistakes
Using commas or minus signs instead of a colon.
Adding cells instead of specifying a range.
Using incorrect range syntax.
4fill in blank
hard

Fill both blanks to calculate the maximum value in range D1 to D8 and multiply it by 2.

Excel
=MAX([1]) * [2]
Drag options to blanks, or click blank then click option'
AD1:D8
BD1-D8
C2
D8
Attempts:
3 left
๐Ÿ’ก Hint
Common Mistakes
Using subtraction instead of a range.
Multiplying by the wrong number.
Incorrect range syntax.
5fill in blank
hard

Fill all three blanks to create a formula that sums values in E1 to E5 only if they are greater than 10.

Excel
=SUMIF([1], [2], [3])
Drag options to blanks, or click blank then click option'
AE1:E5
B">10"
DE1-E5
Attempts:
3 left
๐Ÿ’ก Hint
Common Mistakes
Using subtraction instead of ranges.
Not quoting the condition properly.
Using different ranges for criteria and sum.

Practice

(1/5)
1. What does the SUM function do in Excel when applied to a range of numbers?
easy
A. Calculates the average of the numbers in the range
B. Counts how many numbers are in the range
C. Finds the largest number in the range
D. Adds all the numbers in the range together

Solution

  1. Step 1: Understand the purpose of SUM

    The SUM function adds all numeric values in the selected range.
  2. Step 2: Compare with other functions

    COUNT counts numbers, MAX finds largest, AVERAGE calculates mean, so SUM is addition.
  3. Final Answer:

    Adds all the numbers in the range together -> Option D
  4. Quick Check:

    SUM = addition [OK]
Hint: SUM always adds numbers, not counts or averages [OK]
Common Mistakes:
  • Confusing SUM with COUNT
  • Thinking SUM finds max or average
  • Using SUM on text values expecting count
2. Which of these formulas correctly counts the number of numeric entries in cells A1 to A5?
easy
A. =COUNT(A1:A5)
B. =MAX(A1:A5)
C. =AVERAGE(A1:A5)
D. =SUM(A1:A5)

Solution

  1. Step 1: Identify function purpose

    COUNT counts numeric entries in a range, ignoring text or blanks.
  2. Step 2: Check other options

    SUM adds numbers, AVERAGE calculates mean, MAX finds largest number, so only COUNT counts numbers.
  3. Final Answer:

    =COUNT(A1:A5) -> Option A
  4. Quick Check:

    COUNT counts numbers [OK]
Hint: COUNT counts numbers, SUM adds them [OK]
Common Mistakes:
  • Using SUM instead of COUNT to count numbers
  • Confusing COUNT with COUNTA (which counts all non-empty)
  • Using MAX or AVERAGE expecting count
3. Given the values in cells B1 to B4 as 10, 20, 30, and 40, what is the result of =AVERAGE(B1:B4)?
medium
A. 25
B. 20
C. 30
D. 100

Solution

  1. Step 1: Sum the values in B1:B4

    10 + 20 + 30 + 40 = 100
  2. Step 2: Divide sum by count of numbers

    There are 4 numbers, so 100 รท 4 = 25
  3. Final Answer:

    25 -> Option A
  4. Quick Check:

    Average = sum/count = 25 [OK]
Hint: Average = total sum divided by count [OK]
Common Mistakes:
  • Adding only some numbers
  • Dividing by wrong count
  • Confusing average with sum or max
4. You want to find the smallest number in range C1:C5, but your formula =MIN(C1:C5 gives an error. What is the fix?
medium
A. Change range to C1-C5
B. Replace MIN with MAX function
C. Add the missing closing parenthesis: =MIN(C1:C5)
D. Use SUM instead of MIN

Solution

  1. Step 1: Identify syntax error

    The formula is missing a closing parenthesis, causing a syntax error.
  2. Step 2: Correct the formula

    Adding the closing parenthesis fixes the syntax: =MIN(C1:C5)
  3. Final Answer:

    Add the missing closing parenthesis: =MIN(C1:C5) -> Option C
  4. Quick Check:

    All functions need matching parentheses [OK]
Hint: Check for missing parentheses in formulas [OK]
Common Mistakes:
  • Using dash (-) instead of colon (:) for range
  • Replacing MIN with unrelated functions
  • Ignoring syntax errors
5. You have sales data in cells D1 to D6: 100, 200, 0, 150, blank, and 300. Which formula correctly calculates the average sales ignoring blank and zero values?
hard
A. =AVERAGE(D1:D6)
B. =SUMIF(D1:D6,">0")/COUNTIF(D1:D6,">0")
C. =SUM(D1:D6)/COUNT(D1:D6)
D. =MAX(D1:D6)

Solution

  1. Step 1: Understand the problem

    We want average ignoring zeros and blanks, so only values > 0 count.
  2. Step 2: Analyze each formula

    A and C include zeros and blanks; D finds max, not average. B sums values > 0 and divides by count of values > 0, correctly ignoring zeros and blanks.
  3. Final Answer:

    =SUMIF(D1:D6,">0")/COUNTIF(D1:D6,">0") -> Option B
  4. Quick Check:

    Use SUMIF and COUNTIF to filter values [OK]
Hint: Use SUMIF and COUNTIF to exclude zeros/blanks [OK]
Common Mistakes:
  • Using AVERAGE which includes zeros
  • Dividing SUM by COUNT including zeros
  • Using MAX instead of average
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