Find a course

Module 5: Analyze and PresentLesson 11 of 1213 min

PivotTables: Summaries in Seconds

Build PivotTables to total, count and average large datasets by any field, group dates, show percentages, refresh correctly and drill into details.

Step 1 of 13Learn

From 5,000 rows to one clear answer

Rosa's manager forwards a sheet with 5,000 sales rows (Date, Region, Rep, Product, Units, Revenue) and asks: "Revenue by region for each quarter, by tomorrow?" Rosa could write a grid of SUMIFS formulas. Instead, she builds a PivotTable and has the answer in under a minute.

A PivotTable is an interactive summary. You don't write formulas; you drag field names into place and Excel groups and totals the data for you. Change your mind and drag again, and the summary reshapes instantly. That's the "pivot".

To create one:

  1. Click any cell in your data. Ideally the data is an Excel Table, so new rows are easy to include later.
  2. Choose Insert > PivotTable and accept a new worksheet.
  3. In the PivotTable Fields pane, tick or drag fields into the four areas.

The source data must be a clean list: one header row, every column named, no blank rows, no merged cells, and numbers stored as numbers. A PivotTable is only as good as the list it summarizes, so the cleaning habits from Module 4 pay off here.

A PivotTable never changes the source data. You can build as many as you like from the same list, each answering a different question, and delete them freely.

Step 2 of 13Learn

The four areas

Every PivotTable is defined by where you place fields:

  • Rows: the categories listed down the left side, such as Region.
  • Columns: categories spread across the top, such as Quarter.
  • Values: the numbers to calculate, such as Sum of Revenue.
  • Filters: a drop-down above the table that limits the whole summary, such as Year = 2026.

Rosa puts Region in Rows, Date in Columns (grouped by quarter) and Revenue in Values:

Sum of RevenueQ1Q2Q3Q4Grand Total
East41,20039,80045,10052,300178,400
North28,50030,10029,70035,900124,200
West55,00058,40061,20066,800241,400
Grand Total124,700128,300136,000155,000544,000

Excel picks the calculation from the data type: numeric fields default to Sum, text fields to Count. Dragging Rep under Region in Rows creates a nested view, each rep listed under their region with subtotals.

A good way to plan a PivotTable is to say the question out loud: "*Revenue* (Values) by *region* (Rows) for each *quarter* (Columns), for *2026 only* (Filters)." Every noun lands in an area.

Step 3 of 13Practice · Diagram

The four areas of a PivotTable

Rosa wants quarters spread across the top. Which area does Date (grouped by quarter) go in?

Tap the shape that answers the question, then press Check.

The four areas of a PivotTableParts diagram: PivotTable, Rows, Columns, Values, Filters.PivotTableRowsColumnsValuesFilters
PivotTable
Rows

Categories down the left side.

Columns

Categories across the top.

Values

The numbers to calculate: Sum, Count, Average...

Filters

A drop-down that limits the whole table, such as Year = 2026.

Step 4 of 13Practice · Match the pairs

You want a PivotTable that answers: "Total units sold by product, for each month, for the West region only." Match each field to the area where it belongs.

Tap an answer, then tap the place where it belongs (or drag it there).

  1. Units
  2. Product
  3. Month
  4. Region (set to West)

Step 5 of 13Learn

Making the numbers say the right thing

Click a field in the Values area and choose Value Field Settings to change how it's calculated:

  • Summarize Values By: Sum, Count, Average, Max, Min and more. Average order value is Revenue set to Average.
  • Show Values As: turn amounts into % of Grand Total, % of Column Total, Difference From the previous period, or Running Total. With % of Grand Total, the table above shows West at 241,400 / 544,000 ≈ 44%.
  • Number Format: set currency or thousands separators here, so the format survives when the PivotTable is rearranged.

You can drag the same field into Values twice, once as Sum and once as % of Grand Total, to show both side by side.

Grouping. Right-click a date in the PivotTable and choose Group to roll days up into months, quarters and years. Numbers can be grouped into bands too, such as order sizes 0 to 99, 100 to 199 and so on.

A frequent surprise: Values shows Count of Revenue instead of Sum. That happens when the column contains even one text value or, in older versions, blank cells, so Excel treats the field as text. Fix the source data (find the text entries) rather than just switching to Sum, or the stray values will be ignored.

To sort, right-click a value and choose Sort Largest to Smallest; the biggest regions or products rise to the top.

Step 6 of 13Practice · Chart

Show Values As: Running Total

Tap the month with the highest single-month revenue.

Tap the point that answers the question, then press Check.

Show Values As: Running TotalLine chart with 6 categories: Jan: Monthly revenue $10, Running total $10; Feb: Monthly revenue $12, Running total $22; Mar: Monthly revenue $9, Running total $31; Apr: Monthly revenue $14, Running total $45; May: Monthly revenue $11, Running total $56; Jun: Monthly revenue $15, Running total $71.$0$20$40$60$80Thousands of dollarsJanFebMarAprMayJun
Illustrative data.
Show Values As: Running Total
ItemMonthly revenueRunning total
Jan$10$10
Feb$12$22
Mar$9$31
Apr$14$45
May$11$56
Jun$15$71

Step 7 of 13Practice · Choose one

You drag Revenue into Values and the PivotTable shows "Count of Revenue" instead of "Sum of Revenue". What is the most likely reason?

Step 8 of 13Learn

Refresh, slicers and drill-down

A PivotTable is a snapshot. It does not update automatically when the source data changes. After editing or adding data, right-click the PivotTable and choose Refresh (or Data > Refresh All, Ctrl+Alt+F5). Many wrong reports come from a PivotTable that was never refreshed after new data was pasted in.

If the source is a plain range, new rows added below it are not included even after a refresh, because the range is fixed. If the source is an Excel Table, the PivotTable picks up new rows on refresh. This is one of the strongest reasons to convert data to a table first.

Three more features make PivotTables feel like a dashboard:

  • Slicers (PivotTable Analyze > Insert Slicer): clickable buttons for filtering by Region, Product or Year. One slicer can control several PivotTables at once.
  • Timelines: a slider for filtering by date ranges.
  • Drill-down: double-click any number in the PivotTable and Excel creates a new sheet listing exactly the source rows behind it. It's the fastest way to answer "what makes up this 52,300?"

Finally, if you want a chart, Insert > PivotChart creates a chart tied to the PivotTable that changes when you filter or rearrange it.

Step 9 of 13Diagram

The refresh habit

The refresh habitCycle diagram: Add data to the Table → Refresh All → Check the grand total → Share the report.Add data to theTableRefresh AllCheck the grandtotalShare the report

Tap a shape with to see more.

Add data to the Table

A Table source grows by itself; a plain range does not.

Refresh All

Ctrl+Alt+F5 or right-click > Refresh.

Check the grand total

Does it match the source?

Share the report

Step 10 of 13Practice · True or false

After you add 200 new rows to the source data, an existing PivotTable updates its totals automatically.

Step 11 of 13Practice · What would you do?

What would you do?

Your PivotTable lists Product in Rows and Sum of Units in Values, built from an Excel Table. Your manager asks: "Which product sold the most units in the East region in Q2?" What's the quickest reliable way to answer?

Step 12 of 13Note

Step 13 of 13Practice · Work it out

A PivotTable shows revenue of West $50,000, East $30,000 and North $20,000. If you switch the values to "% of Grand Total", what percentage does West show?