Working with Data Lesson 12 of 13
Excel PivotTables — Summarize Data in Seconds
Summarize large tables with PivotTables — totals by category, counts by section, averages by subject, filters and slicers, grouping dates by month, and PivotCharts.
A PivotTable summarizes a big table without any formulas. Drag fields into boxes and Excel instantly shows totals, counts or averages by category. It's one of the most valuable skills for office and data jobs.
The source data
PivotTables need a clean list: one header row, one record per row, no blank rows or merged cells.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Date | Category | Item | Qty | Amount |
| 2 | 2026-11-02 | Drinks | Kape | 4 | 32 |
| 3 | 2026-11-02 | Bread | Pandesal | 1 | 25 |
| 4 | 2026-11-03 | Drinks | Softdrink | 1 | 75 |
| 5 | 2026-11-03 | Canned | Sardinas | 3 | 72 |
| 6 | 2026-12-01 | Drinks | Kape | 5 | 40 |
| 7 | 2026-12-01 | Bread | Pandesal | 2 | 50 |
Creating a PivotTable
- Click any cell in the data (ideally an Excel Table).
- Insert → PivotTable → New Worksheet → OK.
- In the PivotTable Fields pane, drag Category to Rows and Amount to Values.
| A | B | |
|---|---|---|
| 1 | Row Labels | Sum of Amount |
| 2 | Bread | 75 |
| 3 | Canned | 72 |
| 4 | Drinks | 147 |
| 5 | Grand Total | 294 |
The four areas
| Area | Purpose | Example |
|---|---|---|
| Rows | Categories listed down the side | Category, Item, Section |
| Columns | Categories across the top | Month, Quarter |
| Values | The numbers to summarize | Sum of Amount, Count of LRN |
| Filters | Show only part of the data | Only one month or strand |
Two dimensions
Add Date to Columns. Excel groups dates by month automatically (or right-click a date → Group → Months):
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Row Labels | Nov | Dec | Grand Total |
| 2 | Bread | 25 | 50 | 75 |
| 3 | Canned | 72 | 72 | |
| 4 | Drinks | 107 | 40 | 147 |
| 5 | Grand Total | 204 | 90 | 294 |
Count and average instead of sum
Click the field in Values → Value Field Settings → choose Count, Average, Max or Min. With a class record, you can show:
- Count of students per section and strand.
- Average grade per subject per section.
- Number of failing grades per subject (after filtering grades below 75).
"Show Values As" → % of Grand Total turns the numbers into percentages.
Refreshing
Slicers and PivotCharts
- Slicers (PivotTable Analyze → Insert Slicer) are big filter buttons, like "STEM | ABM | HUMSS", perfect for dashboards.
- PivotCharts (PivotTable Analyze → PivotChart) chart the summary and follow its filters.
Google Sheets
Insert → Pivot table works the same way: add Rows, Columns, Values and Filters in the editor panel. Google Sheets updates pivot tables automatically when the data changes.
Quick Quiz
Check what you learned. Walang grade ito, practice lang. 🙂
By Sir Reyel · Last updated 2026-12-04