Skip to main content
Albero Academy

Excel Pivot Tables

Build, slice, and customise pivot tables — the fastest way to summarise transactional data without writing formulas.

Chapter 2Excel14 min readBeginner friendly
  • #Excel
  • #Pivot Tables

A pivot table is the single fastest way to summarise transactional data into a clean report. Drag fields, get totals. No formulas required. Mastering them is non-negotiable for any analyst role.

Why pivot tables?

  • Group thousands of rows by category in one drag.
  • Switch between sum / average / count / max with a single click.
  • Drill down into any cell to see the underlying rows.
  • Refresh in one click when the source data updates.

Creating a pivot table

  • Format your data as an Excel Table first (Ctrl + T) — pivots auto-pick up new rows.
  • Click anywhere in the table → Insert → PivotTable → choose New Worksheet.
  • You'll see the empty Pivot canvas on the left and the Field List on the right.

Rows · Columns · Values · Filters

Drop zoneWhat it does
Rowscreates a row label per unique value
Columnscreates a column per unique value
Valuesaggregates this field (default Sum for numbers, Count for text)
Filtersadds a top-level filter for the whole pivot

Example: drag Region to Rows, Year to Columns, Revenue to Values. You instantly have a region × year revenue grid.

Click the dropdown next to a value field → Value Field Settings → switch from Sum to Average / Count / Max. Same panel sets number formatting.

Calculated fields

Need a column that doesn't exist in the source? Add a calculated field.

  • PivotTable Analyze → Fields, Items, & Sets → Calculated Field
  • Name it Profit Margin and write = Profit / Revenue
  • Format the new field as a percentage

Slicers & timelines

Slicers are visual filters. PivotTable Analyze → Insert Slicer. Pick a field — you get clickable filter buttons.

  • Slicer: for any categorical field (region, product, customer segment)
  • Timeline: only for date fields — slide-through filtering by month/quarter/year
  • Connect one slicer to multiple pivots — Slicer → Report Connections → tick all the pivots

GETPIVOTDATA

When you click into a pivot table cell from elsewhere, Excel writes a GETPIVOTDATA formula. It looks scary but it's actually very stable — the cell reference doesn't break when the pivot reshapes.

Text
=GETPIVOTDATA(
"Revenue", // value field
$A$3, // any cell in the pivot
"Region", "North", // filter pair
"Year", 2026
)

Key takeaways

  1. 01Always source pivots from a Table (Ctrl+T) — they auto-extend.
  2. 02Field zones: Rows for grouping, Columns for cross-tabs, Values for aggregates, Filters for top-level.
  3. 03Calculated fields aggregate after summing — perfect for ratios like profit margin.
  4. 04Slicers + Timelines turn a pivot into an interactive dashboard.
  5. 05GETPIVOTDATA is more stable than A1 references — let Excel write it.