Bird
Raised Fist0
Google Sheetsspreadsheet~8 mins

Creating a PivotTable in Google Sheets - Dashboard Building Guide

Choose your learning style10 modes available
Dashboard Mode - Creating a PivotTable
Goal

Find total sales by product category and region to see which areas perform best.

Sample Data
Order IDProductCategoryRegionSales
1001ChairFurnitureEast250
1002DeskFurnitureWest450
1003PenOffice SuppliesEast30
1004NotebookOffice SuppliesWest70
1005MonitorTechnologyEast300
1006KeyboardTechnologyWest150
1007ChairFurnitureEast200
Dashboard Components
  • PivotTable: Shows total sales by Category (rows) and Region (columns).
    Formula: Use Google Sheets menu Data > Pivot table with:
    • Rows: Category
    • Columns: Region
    • Values: SUM of Sales
  • Total Sales KPI: Displays total sales overall.
    Formula: =SUM(E2:E8) (assuming sales are in E2:E8)
  • East Region Sales KPI: Shows total sales for East region.
    Formula: =SUMIF(D2:D8, "East", E2:E8)
  • West Region Sales KPI: Shows total sales for West region.
    Formula: =SUMIF(D2:D8, "West", E2:E8)
Dashboard Layout
+-----------------------+-----------------------+
|      Total Sales      |   PivotTable (Sales   |
|        KPI            | by Category & Region) |
+-----------------------+-----------------------+
| East Region Sales KPI | West Region Sales KPI |
+-----------------------+-----------------------+
Interactivity

Add a filter for Category above the PivotTable. When you select a category, the PivotTable and all KPIs update to show sales only for that category.

Steps:

  • Insert a filter dropdown for Category.
  • Connect filter to PivotTable and KPI formulas using FILTER or QUERY functions if needed.
  • When user picks a category, all numbers refresh to match that choice.
Self Check

If you add a filter to show only Furniture category, which components update?

  • PivotTable will show sales only for Furniture by region.
  • Total Sales KPI will show sum of Furniture sales.
  • East and West Region Sales KPIs will show sales for Furniture in their regions.
Key Result
Dashboard shows total and regional sales by product category using a PivotTable and KPIs.

Practice

(1/5)
1. What is the main purpose of a PivotTable in Google Sheets?
easy
A. To enter data manually into cells
B. To create charts and graphs automatically
C. To sort data alphabetically only
D. To quickly summarize and analyze large sets of data

Solution

  1. Step 1: Understand what a PivotTable does

    A PivotTable helps organize and summarize data quickly without changing the original data.
  2. Step 2: Compare options to the purpose

    Only To quickly summarize and analyze large sets of data describes summarizing and analyzing data, which is the main use of PivotTables.
  3. Final Answer:

    To quickly summarize and analyze large sets of data -> Option D
  4. Quick Check:

    PivotTable = Data summary [OK]
Hint: PivotTables summarize data fast, not just sort or enter [OK]
Common Mistakes:
  • Confusing PivotTables with charts
  • Thinking PivotTables only sort data
  • Believing PivotTables are for manual data entry
2. Which menu path correctly starts the creation of a PivotTable in Google Sheets?
easy
A. Data > Pivot table
B. Insert > Chart
C. Format > Conditional formatting
D. Tools > Script editor

Solution

  1. Step 1: Recall the menu for PivotTables

    PivotTables are created from the Data menu, under 'Pivot table'.
  2. Step 2: Eliminate unrelated menu options

    The other options relate to scripts, charts, and conditional formatting, not PivotTables.
  3. Final Answer:

    Data > Pivot table -> Option A
  4. Quick Check:

    PivotTable menu = Data > Pivot table [OK]
Hint: PivotTables start under Data menu, not Insert or Format [OK]
Common Mistakes:
  • Choosing Insert > Chart instead of Data > Pivot table
  • Looking under Format or Tools menus
  • Confusing PivotTable creation with chart creation
3. Given this data in A1:B5:
Product | Sales
Apple   | 10
Banana  | 15
Apple   | 5
Banana  | 10
Cherry  | 20

What will be the total sales for 'Apple' in a PivotTable with 'Product' as rows and 'Sales' summed as values?
medium
A. 20
B. 10
C. 15
D. 25

Solution

  1. Step 1: Identify sales for 'Apple'

    Apple has two sales entries: 10 and 5.
  2. Step 2: Sum the sales values

    10 + 5 = 15 total sales for Apple.
  3. Final Answer:

    15 -> Option C
  4. Quick Check:

    Sum(10,5) = 15 [OK]
Hint: Sum all sales for the product in PivotTable values [OK]
Common Mistakes:
  • Choosing only the first sales number
  • Adding wrong product sales
  • Confusing count with sum
4. You created a PivotTable but it shows no data. Which fix will most likely solve this?
medium
A. Check if the data range selected includes all your data
B. Change the sheet's background color
C. Delete the PivotTable and start over without selecting data
D. Add more columns to the original data

Solution

  1. Step 1: Verify the data range used in the PivotTable

    If the range is too small or wrong, the PivotTable will show no data.
  2. Step 2: Adjust the data range to include all relevant rows and columns

    Expanding the range fixes missing data issues.
  3. Final Answer:

    Check if the data range selected includes all your data -> Option A
  4. Quick Check:

    Data range correct = Data visible [OK]
Hint: Always confirm your data range covers all data [OK]
Common Mistakes:
  • Ignoring data range selection
  • Changing unrelated sheet formatting
  • Deleting PivotTable without fixing range
5. You want to analyze monthly sales by product and region using a PivotTable. Which layout should you choose to see products as rows, regions as columns, and total sales as values?
hard
A. Rows: Sales, Columns: Product, Values: Sum of Region
B. Rows: Product, Columns: Region, Values: Sum of Sales
C. Rows: Region, Columns: Product, Values: Count of Sales
D. Rows: Product, Columns: Sales, Values: Region

Solution

  1. Step 1: Assign 'Product' to rows to list each product vertically

    This organizes products down the side.
  2. Step 2: Assign 'Region' to columns to separate data by region horizontally

    This creates columns for each region.
  3. Step 3: Set 'Values' to sum sales to get total sales per product and region

    Summing sales shows total amounts.
  4. Final Answer:

    Rows: Product, Columns: Region, Values: Sum of Sales -> Option B
  5. Quick Check:

    Correct layout = Product rows + Region columns + Sales sum [OK]
Hint: Rows = products, Columns = regions, Values = sum sales [OK]
Common Mistakes:
  • Swapping rows and columns incorrectly
  • Using count instead of sum for sales
  • Placing sales or region in wrong areas
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