Bird
Raised Fist0
Google Sheetsspreadsheet~8 mins

Formula structure and cell references in Google Sheets - Dashboard Guide

Choose your learning style10 modes available
Dashboard Mode - Formula structure and cell references
Goal

Understand how formulas work in Google Sheets and how to use cell references to calculate values automatically.

Sample Data
ItemPriceQuantityTotal Cost
Apples25
Bananas18
Oranges34
Grapes43
Mangoes52
Dashboard Components
  • KPI Card: Total Items Sold
    Formula: =SUM(C2:C6)
    Shows the total quantity of all items sold.
  • Calculated Column: Total Cost per Item
    Formula in D2: =B2*C2
    Drag down to D6 to calculate total cost for each item.
  • KPI Card: Total Revenue
    Formula: =SUM(D2:D6)
    Shows the total revenue from all items.
Dashboard Layout
+----------------------+----------------------+
| Total Items Sold (KPI) | Total Revenue (KPI)  |
+----------------------+----------------------+
|                      Items Sold Table                    |
|  Item | Price | Quantity | Total Cost |                 |
+-----------------------------------------------+          
Interactivity

Adding a filter by Item name will update the Total Items Sold and Total Revenue KPIs as well as the Total Cost column in the table to reflect only the selected items.

Self Check

If you add a filter to show only "Apples" and "Oranges", which components update and what are their new values?

  • Total Items Sold: SUM of quantities for Apples (5) + Oranges (4) = 9
  • Total Revenue: SUM of total costs for Apples (2*5=10) + Oranges (3*4=12) = 22
  • Total Cost column: Shows costs only for Apples and Oranges rows.
Key Result
A simple sales dashboard showing total items sold, total revenue, and item-wise total cost using formulas and cell references.

Practice

(1/5)
1. What does a formula in Google Sheets always start with?
easy
A. A dollar sign $
B. A plus sign +
C. An equal sign =
D. A hashtag #

Solution

  1. Step 1: Identify the starting character for formulas

    In Google Sheets, every formula must begin with an equal sign = to tell the sheet to calculate something.
  2. Step 2: Identify the correct starting character

    Only the equal sign = is used to start formulas; other symbols like +, $, or # do not start formulas.
  3. Final Answer:

    An equal sign = -> Option C
  4. Quick Check:

    Formula start = '=' [OK]
Hint: Remember: formulas always begin with '=' sign [OK]
Common Mistakes:
  • Starting formulas with '+' instead of '='
  • Confusing '$' for formula start
  • Using '#' thinking it starts formulas
2. Which of these is the correct absolute reference to cell B3 in a formula?
easy
A. $B$3
B. B-3
C. 3B
D. B3

Solution

  1. Step 1: Identify the absolute reference syntax

    Cell B3 is a relative reference. Adding dollar signs $B$3 makes it absolute, fixing the column and row.
  2. Step 2: Identify correct syntax for referencing

    3B and B-3 are invalid references. Both B3 and $B$3 are valid, but absolute references use dollar signs.
  3. Final Answer:

    $B$3 -> Option A
  4. Quick Check:

    Absolute reference = '$B$3' [OK]
Hint: Use $ to fix column and row in cell references [OK]
Common Mistakes:
  • Writing row before column like '3B'
  • Using minus sign in cell reference
  • Confusing relative and absolute references
3. Given the formula =A1 + B1 where A1=5 and B1=3, what is the result?
medium
A. 8
B. A1+B1
C. 53
D. Error

Solution

  1. Step 1: Substitute cell values into the formula

    Replace A1 with 5 and B1 with 3, so the formula becomes =5 + 3.
  2. Step 2: Calculate the sum

    Adding 5 and 3 gives 8.
  3. Final Answer:

    8 -> Option A
  4. Quick Check:

    5 + 3 = 8 [OK]
Hint: Add numbers from referenced cells to get result [OK]
Common Mistakes:
  • Treating formula as text and not calculating
  • Concatenating numbers as text (getting 53)
  • Getting error due to wrong formula syntax
4. The formula =SUM(A1:A3 B1:B3) gives an error. What is the fix?
medium
A. Change SUM to SUMIF
B. Add a comma between ranges: =SUM(A1:A3, B1:B3)
C. Remove the equal sign
D. Use semicolon instead of colon

Solution

  1. Step 1: Identify the missing comma in SUM

    The formula is missing a comma between the two ranges inside SUM, causing a syntax error.
  2. Step 2: Correct the formula by adding a comma

    Adding a comma between A1:A3 and B1:B3 fixes the syntax: =SUM(A1:A3, B1:B3).
  3. Final Answer:

    =SUM(A1:A3, B1:B3) -> Option B
  4. Quick Check:

    Separate ranges with commas in SUM [OK]
Hint: Separate multiple ranges with commas inside functions [OK]
Common Mistakes:
  • Forgetting commas between ranges
  • Removing equal sign thinking it's optional
  • Using wrong function like SUMIF without criteria
5. You want to create a formula that adds the value in cell C2 to the sum of cells A1 to A3, but always uses the value in C2 even if you copy the formula elsewhere. Which formula should you use?
hard
A. =SUM($A$1:$A$3) + $C2
B. =SUM(A1:A3) + C2
C. =SUM($A$1:$A$3) + C2
D. =SUM(A1:A3) + $C$2

Solution

  1. Step 1: Identify the absolute reference for C2

    To keep the reference to C2 fixed when copying the formula, use absolute reference $C$2.
  2. Step 2: Use relative reference for A1:A3 sum

    The range A1:A3 can stay relative so it adjusts if needed, but the question focuses on fixing C2.
  3. Final Answer:

    =SUM(A1:A3) + $C$2 -> Option D
  4. Quick Check:

    Fix C2 with $ for absolute reference [OK]
Hint: Use $ before column and row to fix cell reference [OK]
Common Mistakes:
  • Not using $ and losing fixed reference on copy
  • Fixing range unnecessarily when not required
  • Using partial absolute references incorrectly
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