Excel Pivot Tables Cheat Sheet β€” Pivot, Slicer, Calculated Field, Grouping | Dataplexa

Excel Pivot Tables

Create & configure  Β·  Slicers  Β·  Grouping  Β·  Calculated fields  Β·  Value settings  Β·  Pivot charts

Sheet 2 of 3 Excel 365 Beginner–Inter. Printable

Creating a Pivot Table

step by step
  1. Prepare your data β€” one header row, no blank rows/columns, no merged cells. Each column = one field.
  2. Select any cell inside the data range (or select the whole range).
  3. Insert β†’ PivotTable (ribbon) or press Alt N V.
  4. Choose location β€” New Worksheet (recommended) or Existing Worksheet, then click OK.
  5. Drag fields into the four areas in the PivotTable Fields pane on the right.
  6. Refresh when source data changes β€” right-click pivot β†’ Refresh, or Alt F5.
The 4 Pivot Areas
AreaWhat it doesDrag here
Filters Top-level report filter β€” shows a dropdown above the pivot Region, Year
Columns Spreads categories across column headers Quarter, Month
Rows Groups data down the left side Product, Name
Values Aggregated numbers in the body Sales, Revenue
Format as Table first: Select your data β†’ Ctrl+T β†’ Insert β†’ PivotTable. A Table auto-expands when you add rows, so the pivot always includes new data after refresh.

Value Field Settings

summarise & show as
Summarise Value By
FunctionReturns
Sum Total of values (default for numbers)
Count Count of entries (default for text)
Average Mean of values
Max / Min Highest / lowest value
Product Multiplies all values together
StdDev Standard deviation (sample)
Var Variance (sample)
Show Values As β€” % & more
OptionShows
% of Grand Total Each cell as % of overall total
% of Column Total % within each column
% of Row Total % within each row
% of Parent Row % of the subtotal above
Running Total In Cumulative sum down a field
Rank Largest→Small Rank 1 = highest value
Difference From Delta vs a base item
How to access: Right-click any value cell β†’ Value Field Settings. Change both the summarise function and the "Show Values As" display on two separate tabs.

Grouping

dates Β· numbers Β· text
Group Dates Automatically
  1. Add a date field to Rows or Columns.
  2. Excel 2016+ auto-groups into Years β†’ Quarters β†’ Months. Expand/collapse with the +/βˆ’ buttons.
  3. To customise: right-click a date cell β†’ Group β†’ pick Seconds / Minutes / Hours / Days / Months / Quarters / Years.
  4. To ungroup: right-click β†’ Ungroup.
Group Numbers & Text
  1. Numbers β€” right-click a number row item β†’ Group β†’ set Starting at, Ending at, By (interval, e.g. 10 for age brackets 0–9, 10–19…).
  2. Text / manual β€” hold Ctrl and click the row items you want to group β†’ right-click β†’ Group. A "Group1" label appears; rename it by typing.
Date grouping requires real dates. If Excel won't group, the date column contains text. Fix with DATEVALUE() or Data β†’ Text to Columns β†’ Date format.

Slicers & Timelines

interactive filtering
Insert a Slicer
  1. Click anywhere inside the pivot table.
  2. Go to PivotTable Analyze β†’ Insert Slicer (or Insert β†’ Slicer).
  3. Tick the field(s) you want β€” e.g. Region, Category.
  4. Click OK β€” a floating slicer panel appears.
  5. Click any button on the slicer to filter the pivot instantly.
  6. Hold Ctrl to select multiple slicer items.
  7. Click the Γ— (Clear Filter) icon top-right to reset.
Connect Slicer to Multiple Pivots
  1. Right-click the slicer β†’ Report Connections.
  2. Tick all the pivots you want this slicer to control.
  3. Click OK β€” one slicer now filters all connected pivots simultaneously.
Insert a Timeline (Date Slicer)
  1. Click the pivot β†’ PivotTable Analyze β†’ Insert Timeline.
  2. Select a date field β†’ OK.
  3. Use the dropdown to switch between Years / Quarters / Months / Days.
  4. Drag the handles to filter a date range.
Slicer Tips
Style a slicer
Click slicer β†’ Slicer tab
β†’ choose a Slicer Style
β†’ Slicer Settings to
  rename caption, sort order

Multi-column slicer buttons
Slicer tab β†’ Columns: 3
Resize slicer to fit

Remove a slicer
Click it β†’ Delete key
Slicers work on Tables too β€” insert a slicer on a formatted Table (Ctrl+T) to filter it without a pivot.

Calculated Fields & Items

custom formulas
Insert a Calculated Field
  1. Click inside the pivot β†’ PivotTable Analyze β†’ Fields, Items & Sets β†’ Calculated Field.
  2. Give it a Name (e.g. Profit Margin).
  3. Build the formula using field names from the list β€” double-click to insert.
  4. Click Add then OK.
Example Calculated Field Formulas
Profit margin %
= Profit / Revenue

Tax amount
= Revenue * 0.18

Revenue per unit
= Revenue / Units

Bonus flag
= IF(Sales > 10000,
     Sales * 0.05, 0)
Calculated fields use entire column totals β€” they can't reference individual cells. For complex logic, add a helper column to the source data and refresh the pivot instead.

Sorting, Filtering & Layout

arrange & display
Sorting Pivot Data
Sort by row labels A→Z
Click row label dropdown β†’ Sort A to Z

Sort by values (e.g. highest sales first)
Click value cell β†’ Sort β†’
Sort Largest to Smallest

Manual drag sort
Hover edge of item cell until
cursor shows 4-arrow β†’ drag
Layout Options
LayoutBest for
Compact Default β€” all row fields in one column. Saves space.
Outline Each row field in its own column, with subtotals above.
Tabular Classic table look β€” easiest to copy/paste out. No indent.
Change layout: PivotTable Analyze β†’ Design β†’ Report Layout β†’ choose Tabular for the most copy-friendly format.

Pivot Charts

visualise pivot data
Insert a Pivot Chart
  1. Click inside the pivot table.
  2. PivotTable Analyze β†’ PivotChart (or Insert β†’ PivotChart).
  3. Choose chart type β€” Column, Bar, Line, Pie, etc. β†’ OK.
  4. The chart links live to the pivot β€” filter the pivot and the chart updates instantly.
  5. Slicers connected to the pivot also filter the chart automatically.
Chart Type Guide
ChartUse when…
Clustered Column Compare categories side by side
Stacked Bar Show part-to-whole across categories
Line Trend over time
Pie / Doughnut Single series composition (<6 slices)
Combo Two metrics with different scales
Treemap Hierarchical part-to-whole
Waterfall Running total, gains & losses
Hide Chart Field Buttons
Field buttons clutter the chart
β€” hide them for presentations

Right-click a field button
β†’ Hide All Field Buttons
   on Chart

Re-show:
PivotChart Analyze tab
β†’ Field Buttons β†’ Show All

Move chart to its own sheet
Right-click chart border
β†’ Move Chart β†’ New sheet

Essential Pivot Keyboard Shortcuts

speed up workflow

Create & Refresh

Alt N V Insert PivotTable
Alt F5 Refresh pivot
Ctrl Alt F5 Refresh all
Alt F4 Close dialog

Navigate & Select

Tab Move to next field
Enter Expand/collapse
← β†’ Collapse/expand group
Ctrl * Select entire pivot

Format & Group

Alt Shift β†’ Group selection
Alt Shift ← Ungroup selection
Ctrl T Format as Table
Ctrl 1 Format cells dialog

Common Mistakes & Best Practices

troubleshoot
Data Prep Mistakes
βœ— Blank rows or columns in data
βœ— Merged cells in the header
βœ— Numbers stored as text (left-aligned)
βœ— Dates stored as text strings
βœ— Duplicate/inconsistent labels
   ("North" vs "north" vs "North ")

βœ“ Clean header in row 1
βœ“ No blank rows between data
βœ“ Consistent text case (PROPER/TRIM)
βœ“ Format as Table (Ctrl+T) first
Pivot Doesn't Update?
New rows added to source data
β†’ Right-click β†’ Refresh
β†’ Or: if source is a Table,
   it expands automatically

Source range changed
β†’ PivotTable Analyze
   β†’ Change Data Source
   β†’ update the range

Grand totals wrong
β†’ Design β†’ Grand Totals
   β†’ On for Rows and Columns
Power Tips
Show items with no data
Right-click row item β†’ Field
Settings β†’ Layout β†’ Show
items with no data βœ“

Repeat item labels
Design β†’ Report Layout
β†’ Repeat All Item Labels

Custom number format
Right-click value β†’ Number
Format β†’ Accounting / Custom

Preserve formatting on refresh
PivotTable Options β†’ Layout
β†’ Preserve cell formatting βœ“

Pivot Tables Mastery Checklist

sheet 2 complete
Build & ConfigureKey point
Create a pivot from a Table Ctrl+T first
Use all 4 areas correctly Filters/Cols/Rows/Values
Change summarise function Value Field Settings
Show values as % % of Grand Total
Filter & GroupKey point
Add interactive filter button Insert Slicer
Connect slicer to many pivots Report Connections
Filter by date range visually Insert Timeline
Group dates into months/quarters Right-click β†’ Group
AdvancedKey point
Add a custom formula to pivot Calculated Field
Create a linked chart PivotChart
Refresh data after update Alt + F5
Fix data not updating Change Data Source
Next up β†’ Sheet 3: Excel Charts  Β·  bar Β· line Β· scatter Β· sparkline Β· combo β€” create professional charts, format axes, add trendlines, and build dashboards.