Learning Objectives
- Decide when a pivot table beats manual SUMIF sheets
- Build pivots with Rows, Columns, Values, and Filters
- Change value settings (Sum, Count, Average, % of total)
- Create pivot charts and interactive Slicers
- Refresh pivots after source data changes
Sample file: sales_data_large.csv
When to Use a Pivot Table
Use pivots when you need fast answers like:
- Total sales by Region
- Average units by Product
- Monthly trend from a Date field
- Count of orders per Salesperson
Prerequisites: clean headers, one row per record, no totals row mixed into the source.
Step-by-Step: Create a Pivot
- Click any cell in the Sales table.
- Insert โ PivotTable โ New Worksheet. Name the sheet Pivot.
- Drag fields:
| Area | Field |
|---|---|
| Rows | Region |
| Values | Sum of Sales Amount |
| Values (again) | Sum of Units Sold |
- Format Sales Amount as currency / accounting.
- Optional: add Product under Region for a hierarchy.
Change value settings
Right-click a value cell โ Value Field Settings:
- Summarize by Average / Count
- Show Values As โ % of Grand Total
Pivot Charts
- Select the pivot โ PivotTable Analyze โ PivotChart.
- Clustered column for region comparison; pie for share of total.
- Chart title:
Sales by Region. - Keep the chart linked to the pivot (filtering the pivot filters the chart).
Slicers (interactive filters)
- Click the pivot โ PivotTable Analyze โ Insert Slicer.
- Tick Region (and/or Product).
- Click a slicer button to filter; use multi-select if needed.
- Clear filter with the funnel icon on the slicer.
Slicers appear in Model Lab Test Set B โ practise them here so the timed test is familiar.
Group Dates (optional)
If you have a Date field:
- Drag Date to Rows.
- Right-click โ Group โ Months / Quarters / Years.
- Build a monthly trend line chart from the grouped pivot.
Refresh and Integrity
- After editing source rows: right-click pivot โ Refresh.
- If you added columns, change PivotTable source range (or use an Excel Table so the range grows).
- Never type manually inside pivot cells โ values will be overwritten on refresh.
Practice Task
From sales_data_large.csv:
- Pivot: Region ร Sum of Sales Amount + Average Units
- Pivot chart with a clear title
- Slicer on Region; screenshot or note the West-only total
- Second pivot: Product ranking (sort Values largest to smallest)
- Write three bullet insights for a Dashboard sheet
๐ Continue to: Linking Workbooks


