Bird
Raised Fist0
Excelspreadsheet~8 mins

Value fields and aggregation in Excel - Dashboard Guide

Choose your learning style10 modes available
Dashboard Mode - Value fields and aggregation
Dashboard Goal

Understand total sales and average sales per product category to see which category performs best.

Sample Data
Order IDProduct CategorySales Amount
1001Electronics250
1002Furniture450
1003Electronics300
1004Clothing150
1005Furniture200
1006Clothing350
1007Electronics400
Dashboard Components
  • Total Sales: A KPI card showing total sales for all orders.
    Formula: =SUM(C2:C8)
    Result: 2100
  • Average Sales per Category: A table showing average sales for each product category.
    Formula for Electronics average (example): =AVERAGEIF(B2:B8,"Electronics",C2:C8)
    Results:
    - Electronics: 316.67
    - Furniture: 325
    - Clothing: 250
  • Sales by Category: A summary table showing total sales per category.
    Formula for Electronics total (example): =SUMIF(B2:B8,"Electronics",C2:C8)
    Results:
    - Electronics: 950
    - Furniture: 650
    - Clothing: 500
Dashboard Layout
+-------------------+--------------------------+
|   Total Sales     |  Average Sales per Cat.  |
|      2100         |  Electronics: 316.67     |
|                   |  Furniture: 325          |
|                   |  Clothing: 250           |
+-------------------+--------------------------+
|          Sales by Category Summary Table          |
|  Electronics: 950  Furniture: 650  Clothing: 500  |
+---------------------------------------------------+
Interactivity

Add a filter for Product Category. When you select a category, the Total Sales, Average Sales, and Sales by Category components update to show data only for that category.

Self Check

If you filter the dashboard to show only Furniture, what is the Total Sales value shown?

Answer: 650

Key Result
Dashboard shows total and average sales by product category using sum and average aggregation.

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