Last 30 Days
No notifications
A Pivot Table lets you summarize, sort, filter, and analyze thousands of rows in seconds by dragging fields into four areas: Rows, Columns, Values, and Filters.
| Area | Purpose | Example |
| Rows | Group data vertically | Product Category |
| Columns | Group data horizontally | Quarter (Q1, Q2…) |
| Values | Aggregate numbers | SUM of Revenue |
| Filters | Slice the entire table | Region = "North" |
1. Select your data range (Ctrl+A if in a table)
2. Insert → PivotTable → New Worksheet
3. Drag "Category" to Rows
4. Drag "Revenue" to Values (defaults to SUM)
5. Drag "Quarter" to Columns
6. Drag "Region" to FiltersGiven a table with columns: Date
UnitsProduct Category Region Revenue
Pivot setup: Rows = Category, Columns = Month (grouped from Date), Values = SUM(Revenue)
Result: A cross-tab showing total revenue per category per month — a report that would take dozens of SUMIFS formulas done manually.
Right-click any date in the Rows area → Group → Select "Months" and "Years". This automatically creates time-based buckets without helper columns.
Add custom metrics: PivotTable Analyze → Fields, Items & Sets → Calculated Field
Avg Price = Revenue / Units
Margin = Revenue - CostInsert → Slicer → Select fields like Region or Category. Slicers provide clickable buttons that filter your pivot table interactively — perfect for dashboards.
Pivot tables turn a long, messy table into a one-click summary. Drag a column to Rows, another to Values, and Excel groups, counts, and totals for you. They are the fastest way to answer "how much did each region sell last month?" without writing a single formula.
Underneath, Excel takes a snapshot of your source range — the pivot cache — and lets you ask questions of it through four drop zones:
| Zone | Role | Example |
| Rows | Group down | Region |
| Columns | Group across | Year |
| Values | Aggregate | Sum of Revenue |
| Filters | Slice the whole table | Country = IN |
Drop different fields in different zones and you reshape the answer instantly. That's why it's called a *pivot*.
1. Click any cell in your data → Insert → PivotTable. 2. Drag fields into the four zones. 3. Right-click any value cell → Value Field Settings to change SUM → AVERAGE / COUNT / etc. 4. Refresh (Alt+F5) whenever the source data changes — pivots do not auto-update.
1. Source data with blank rows or columns. Excel stops at the first blank. Convert to a Table (Ctrl+T) so it auto-expands.
2. Numbers stored as text. They will count, not sum. Fix the source.
3. Forgetting to refresh. Build a habit: change source → Alt+F5.
4. Merged cells in the source. Break them.
5. Stacking too many fields. A pivot should answer *one* question. Make a second pivot for the next.
6. Editing pivot values directly. They are calculated — fix the source data instead.
Right-click any value → Summarize Values By:
| Option | Result | |||
| % of Grand Total | Share of the whole | |||
| % of Column Total | Share within each column | |||
| % of Parent Row | Share within parent group | |||
| Difference From | Change vs a baseline | |||
| Running Total In | Cumulative sum (great for time series) | |||
| Rank Largest to Smallest | Auto-rank rows | Intermediate: Grouping & Number FormattingRight-click a date in Rows → Group → by Months / Quarters / Years. Right-click a number row → Group → by buckets of 10 / 100 / 1000. Format values via Value Field Settings → Number Format (Excel cell formatting on the source is ignored). Intermediate: Slicers & TimelinesClick the pivot → Insert Slicer for a one-click filter UI. Multiple pivots can share the same slicer (Report Connections) — the foundation of every interactive dashboard. Timeline is the same idea for date fields. Intermediate: Pivot ChartsA chart bound to the pivot. Updates automatically when you change the pivot. Best mappings: | Question | Chart |
| Compare categories | Bar / Column | |||
| Trend over time | Line | |||
| Composition (few parts) | Pie / Donut | |||
| Two metrics, same scale | Clustered Column | |||
| Two metrics, different scales | Combo (column + line) |
Need a metric that does not exist in your source? Add it inside the pivot:
PivotTable Analyze → Fields, Items & Sets → Calculated Field
Name: Margin
Formula: = Revenue - CostNow Margin appears as a draggable field. Calculated fields work on aggregated values — they are not row-level formulas.
When you reference a pivot cell in another formula, Excel writes GETPIVOTDATA automatically. It survives layout changes — dashboards built on =B5 break the moment a row is added; dashboards built on GETPIVOTDATA do not.
Flip on Add to Data Model when creating a pivot to unlock:
TotalRevenue := SUM(Sales[Amount])
YoYGrowth := DIVIDE([TotalRevenue] - CALCULATE([TotalRevenue], DATEADD(Calendar[Date], -1, YEAR)), CALCULATE([TotalRevenue], DATEADD(Calendar[Date], -1, YEAR)))This is the same engine Power BI runs on — learning DAX in Excel transfers directly.
1. Take a 1000-row sales sheet, build a pivot of Revenue by Region × Quarter.
2. Switch the value to % of Row Total and add a Running Total column — read the trend without writing a formula.
3. Insert a Slicer for *Product Category*, connect it to two pivots side-by-side.
4. Add a calculated field Margin = Revenue - Cost, build a Pivot Chart, refresh after editing the source.