PivotTables and PivotCharts
Master Excel's most powerful analysis tool — PivotTables — to summarize, group, and explore large datasets interactively, and connect PivotCharts for dynamic visual analysis.
Video
Watch the lesson video, then complete the reading and challenge.
Presentation Slides
Review the slides below, then complete the reading and challenge.

Lesson Notes
Read through the key concepts before you try the challenge.
Real-World Scenario
What PivotTables Do and Why They Matter
A PivotTable is an interactive summary table that organizes and aggregates data from a larger dataset based on the categories you choose. The word 'pivot' reflects the fact that you can instantly restructure the summary by dragging fields to different positions — exploring the data from entirely different angles without touching the original data:
- PivotTables summarize large datasets instantly — a 350-row expense ledger with one row per transaction can be summarized as a department-by-month totals table in seconds. No formulas, no manual copy-paste, no creating separate summary tables for each question. The PivotTable scans all 350 rows, groups them by your chosen categories, and calculates the summary values automatically.
- PivotTables are non-destructive — the original data is never touched. The PivotTable is a separate analysis view that references the source data. You can build 10 different PivotTables from the same dataset, each exploring a different question, without altering any source records. If you make an analysis mistake, simply clear the PivotTable and start fresh.
- PivotTables update with one click when source data changes — when May's last week of expense records is added to the data table, right-click the PivotTable and choose 'Refresh' to instantly update every PivotTable that references that data. No need to rewrite formulas or rebuild summary tables — the analysis updates in seconds.
- PivotTables are the foundation of Excel dashboards — most professional Excel dashboards consist of 2–4 PivotTables with PivotCharts and Slicers connected to them. Learning PivotTables well is the single most leveraged Excel skill for anyone whose job involves data reporting.
Creating and Configuring a PivotTable
Creating a PivotTable from a well-structured data source takes less than 60 seconds — the power comes from understanding how to configure it to answer your specific question:
- To create a PivotTable: click any cell in your data range (Excel will automatically detect the full data region), then click Insert > PivotTable. The Create PivotTable dialog asks you to confirm the data range and choose where to place the PivotTable — select 'New Worksheet' to keep the analysis separate from your source data. Click OK. A blank PivotTable framework appears on the new sheet with the PivotTable Field List panel open on the right.
- The four PivotTable areas determine the structure of your analysis — Rows (the row headers of the summary table), Columns (the column headers), Values (the data being aggregated), and Filters (applied to limit which source records are included). Drag field names from the field list at the top of the panel into the four areas at the bottom. The PivotTable updates in real time as you drop fields.
- To answer 'What did we spend per department last month?': drag Department to the Rows area, Amount to the Values area. The PivotTable immediately shows total spending per department. To break it down by month as well: drag Date (or Month) to the Columns area — the table now shows a grid of Department vs Month with spending totals at each intersection. This two-dimensional view is the classic cross-tab that justifies PivotTables' existence.
- The Values area defaults to Sum for numeric fields and Count for text fields — to change how a value is aggregated, right-click the value field in the Values area and choose 'Value Field Settings.' You can change Sum to Count, Average, Min, Max, or other options. 'Show Values As' lets you display values as percentages of row total, column total, or grand total — instantly converting dollar amounts to percentage breakdowns without writing a single formula.
- Grouping dates allows you to summarize by month, quarter, or year even when your data has specific dates in each row — right-click any date value in the Row or Column area and choose 'Group.' Choose 'Months' and 'Years' (hold Ctrl to select multiple levels). Excel groups all January dates together, all February dates together, etc., and shows Month names as the row or column headers.
Slicers and PivotCharts
Slicers and PivotCharts transform a static PivotTable analysis into an interactive exploration tool — making it possible for non-Excel users like physicians and office managers to explore the data themselves without needing to understand PivotTable mechanics:
- Slicers are visual filter buttons — each slicer shows all unique values in a field as clickable buttons. Click a button to filter the PivotTable to show only that value; Ctrl+Click multiple buttons to show data for multiple values; click the 'X' button to clear the filter. Insert a slicer via PivotTable Analyze > Insert Slicer. For an expense dashboard at Lakeside Medical Associates, slicers for Department and Category let the office manager filter the data with two clicks instead of navigating the PivotTable filter panel.
- Multiple slicers can be connected to multiple PivotTables on the same sheet — right-click a slicer and choose 'Report Connections' to select which PivotTables the slicer controls. When connected, clicking a slicer button simultaneously filters all connected PivotTables and PivotCharts — creating a true interactive dashboard from a simple set of tools.
- PivotCharts are charts connected to a PivotTable that automatically update when the PivotTable's data or filter changes — click any cell in a PivotTable, then click PivotTable Analyze > PivotChart. Choose a chart type and format it as you would a regular chart. When you click a slicer button or drag a field in the PivotTable, the PivotChart updates automatically to reflect the new view. PivotCharts connected to slicers are the core building block of professional Excel dashboards.
Quick Reference: PivotTables and PivotCharts

PivotTables and PivotCharts Quick Reference — turning 350 rows into instant insights
Responsible Use
AI Assist
Knowledge Check
You have a PivotTable summarizing expense amounts by Department. The source data file just received 15 new expense entries for last week. How do you update the PivotTable to include those new entries?
Challenge
Apply what you've learned in this lesson.
Build a PivotTable analysis of expense data for Lakeside Medical Associates that answers four distinct business questions — then connect a PivotChart and Slicers to create a mini interactive dashboard.
- Use the 30-row expense dataset you generated with ChatGPT (or create your own with columns: Date, Department, Category, Vendor, Amount). Convert it to an Excel Table on a sheet named 'Expense Data.' Ensure all dates are date values and all amounts are numbers.
- Create PivotTable 1 on a new sheet named 'PT Analysis': Department in Rows, Month (grouped from Date) in Columns, Sum of Amount in Values. This answers 'What did we spend per department each month?' Format all values as Currency.
- Add a second PivotTable below the first on the same sheet: Category in Rows, Sum of Amount in Values. Sort by Amount descending (largest to smallest). This answers 'What are our top spending categories?'
- Create a PivotChart from PivotTable 1: a clustered column chart showing department spending by month. Title it 'Monthly Expenses by Department — Lakeside Medical Associates.' Add a Slicer for Department (to filter both PivotTables) and a Slicer for Category. Connect both slicers to both PivotTables via Report Connections.
- Test the interactive dashboard: click the 'Medical' button on the Department slicer and confirm both PivotTables and the PivotChart update to show only Medical Department data. Then clear the slicer and click 'Supplies' in the Category slicer to confirm category filtering works. Save as 'PivotTable Analysis – Lakeside Medical.xlsx.'