Pivot Tables
Excel Guides / Dashboard Building
Dashboard Building
Summarise hundreds of rows by month, product or channel in a few clicks, then slice the answer any way you like.
Updated 12 Oct 2026 Ā· 7 min read Ā· By Sky Dashboards
A pivot table summarises a list of records without a single formula. Drag one field into rows and another into values, and Excel totals, counts or averages the data for you. Change your mind, drag the fields somewhere else, and the summary rebuilds in a second. For most reporting it is faster and harder to get wrong than a page of SUMIFS.
In this guide
Set up the source data as a Table
A pivot table is only as good as the list behind it. Check for one header row with a unique name in every column, one record per row with no blank or subtotal rows, one type per column (real dates, real numbers, not text) and no merged cells.
Then turn the range into an Excel Table: click inside it and press Ctrl + T. Name it on the Table Design tab, for example tblOrders. A pivot built on a Table picks up new rows the next time you refresh. A pivot built on a fixed range like A1:E13 ignores anything added below row 13.
| A | B | C | D | E | ||
|---|---|---|---|---|---|---|
| 1 | Date | Channel | Product | Units | Revenue | |
| 2 | 6 Jan 2026 | Website | Candles | 14 | $392 | |
| 3 | 11 Jan 2026 | Market | Soap | 30 | $270 | |
| 4 | 19 Jan 2026 | Etsy | Gift sets | 6 | $270 | |
| 5 | 27 Jan 2026 | Website | Soap | 12 | $108 | |
| 6 | 3 Feb 2026 | Etsy | Candles | 9 | $252 | |
| 7 | 14 Feb 2026 | Website | Gift sets | 18 | $810 | |
| 8 | 14 Feb 2026 | Market | Candles | 22 | $616 | |
| 9 | 25 Feb 2026 | Etsy | Soap | 15 | $135 | |
| 10 | 7 Mar 2026 | Market | Gift sets | 8 | $360 | |
| 11 | 12 Mar 2026 | Website | Candles | 20 | $560 | |
| 12 | 21 Mar 2026 | Etsy | Candles | 11 | $308 | |
| 13 | 29 Mar 2026 | Market | Soap | 26 | $234 |
tblOrders: three months of orders for a small candle and soap shop. Every example below summarises these 12 rows.
Insert a pivot table
- Click any cell in the Table.
- Go to Insert > PivotTable and choose From Table/Range.
- Check that Table/Range shows the Table name,
tblOrders, rather than a cell address. - Choose New Worksheet, or Existing Worksheet and a cell, and click OK.
āØĀ Insert a PivotTable from a table or range
Alt ā N ā V ā T
Press the keys one after another, not together.
In older versions without the From Table/Range menu, Alt N V opens the dialog directly.
Excel adds an empty pivot (on a new sheet it starts at A3) and opens the PivotTable Fields pane. If the pane is missing, click inside the pivot; if it is still hidden, use PivotTable Analyze > Field List.
Rows, Columns, Values and Filters
The bottom of the Fields pane has four boxes. Drag a field into each to shape the report:
| Area | What it does | Example |
|---|---|---|
| Rows | One row per item in the field | Months down the side |
| Columns | One column per item | Channels across the top |
| Values | The numbers being summarised | Sum of Revenue |
| Filters | A drop-down above the pivot that filters the whole report | Candles only |
With Date in Rows (grouped by month, see below), Channel in Columns and Revenue in Values, the 12 orders become this:
| A | B | C | D | E | ||
|---|---|---|---|---|---|---|
| 3 | Sum of Revenue | Column Labels | ||||
| 4 | Row Labels | Etsy | Market | Website | Grand Total | |
| 5 | Jan | $270 | $270 | $500 | $1,040 | |
| 6 | Feb | $387 | $616 | $810 | $1,813 | |
| 7 | Mar | $308 | $594 | $560 | $1,462 | |
| 8 | Grand Total | $965 | $1,480 | $1,870 | $4,315 |
Sum of Revenue by month and channel, formatted as currency. Every figure ties back to the 12 rows in tblOrders.
Tip
Design > Report Layout > Show in Tabular Form replaces the generic Row Labels and Column Labels headings with your field names, which reads far better in a report.
Summarize Values By and Show Values As
A number field dropped into Values is summed and a text field is counted. If a number column contains even one blank or text cell, Excel counts it instead, which is why revenue sometimes turns up as Count of Revenue.
To change the calculation, right-click any value in the pivot, choose Summarize Values By and pick Sum, Count, Average, Max, Min or another option. Value Field Settings on the same menu has those choices plus Number Format and a Custom Name box for a cleaner heading.
Show Values As keeps the underlying sum but displays it another way. The ones you will use most:
- % of Grand Total: each cell as a share of the overall total.
- % of Column Total and % of Row Total: shares within each column or row, such as each channel's share of a month.
- Running Total In: a cumulative total along a base field. By month, the shop above runs $1,040, $2,853, $4,315.
- Difference From and % Difference From: the change against a base item, such as the previous month.
Drag Revenue into Values a second time, set the copy to % of Grand Total and rename it, and you get each value next to its share:
| A | B | C | ||
|---|---|---|---|---|
| 3 | Row Labels | Sum of Revenue | % of total | |
| 4 | Candles | $2,128 | 49.32% | |
| 5 | Gift sets | $1,440 | 33.37% | |
| 6 | Soap | $747 | 17.31% | |
| 7 | Grand Total | $4,315 | 100.00% |
Product in Rows and Revenue in Values twice. The second copy shows % of Grand Total.
Group dates by month or quarter
Current versions of Excel often group a date field automatically when you drop it into Rows. To choose the grouping yourself:
- Right-click any date in the pivot and choose Group...
- In the Grouping dialog, select Months, Quarters or both. Click an item again to deselect it.
- If the data covers more than one year, select Years as well. Without it, January 2025 and January 2026 are added together under one Jan.
- Click OK. To reverse it, right-click a grouped item and choose Ungroup.
Cannot group that selection
Excel refuses to group a date field that contains a blank or a date stored as text. Fix the source column, refresh and try again.
Refresh after the data changes
A pivot table works from a stored copy of the source, the pivot cache, and does not update when the source changes. After you add or edit orders, refresh it:
| Action | Shortcut |
|---|---|
| Refresh the selected pivot table | Alt + F5 |
| Refresh All: every pivot, query and connection in the workbook | Ctrl + Alt + F5 |
The same commands are under PivotTable Analyze > Refresh and Data > Refresh All. Two settings in PivotTable Analyze > Options are worth changing:
- On the Data tab, tick Refresh data when opening the file.
- On the Layout & Format tab, untick Autofit column widths on update, so a refresh does not resize columns you have set by hand.
Slicers and timelines
Slicers are filter buttons that sit on the sheet, so anyone can filter the report without opening a drop-down.
- Click inside the pivot and choose PivotTable Analyze > Insert Slicer.
- Tick the fields to filter by, such as Channel and Product, and click OK.
- Click a button to filter. Hold Ctrl to pick several, or turn on Multi-Select in the slicer header. The Clear Filter icon resets it.
A timeline is a slicer made for dates. Choose PivotTable Analyze > Insert Timeline, tick the date field, and you get a bar you can drag across days, months, quarters or years. It needs a column of real dates.
One slicer can drive several pivots, as long as they come from the same source. Right-click the slicer, choose Report Connections... and tick every pivot it should filter.
GETPIVOTDATA, pivot charts and dashboards
Type = and click a value inside a pivot, and Excel writes a GETPIVOTDATA formula instead of a plain cell reference:
=GETPIVOTDATA("Revenue",$A$3,"Product","Candles")On a pivot at A3 with Product in Rows and Sum of Revenue in Values, this returns $2,128, wherever the Candles row moves after a refresh.
Because it finds the value by its labels, the formula keeps working when the pivot grows or is re-sorted. When you would rather have an ordinary reference to copy down a column, click the arrow next to Options at the left of the PivotTable Analyze tab and untick Generate GetPivotData. The same switch is in File > Options > Formulas as Use GetPivotData functions for PivotTable references.
Pivot charts
Select the pivot and choose PivotTable Analyze > PivotChart. The chart follows the pivot: filter, slice or regroup it and the chart redraws. For a cleaner look, hide the grey field buttons with PivotChart Analyze > Field Buttons > Hide All.
Pivots behind a dashboard
Many Sky Dashboards templates run on a hidden sheet of pivots. The front sheet holds the slicers, KPI tiles read their numbers with GETPIVOTDATA, and the charts are pivot charts, so one click on a slicer updates every number and chart together.
Frequently asked questions
Why doesn't my pivot table show new data?
Pivots do not update on their own. Press Alt+F5 to refresh it, or Ctrl+Alt+F5 to refresh everything. If new rows still do not appear, the source is a fixed range: point it at a Table with PivotTable Analyze > Change Data Source.
Why does my pivot show Count instead of Sum?
The value column contains at least one blank or text entry, so Excel defaults to Count. Right-click a value, choose Summarize Values By > Sum, and clean up the source column.
Can one slicer filter two pivot tables?
Yes, if both pivots use the same source. Right-click the slicer, choose Report Connections and tick both.
How do I stop GETPIVOTDATA appearing in my formulas?
Click the arrow next to Options on the PivotTable Analyze tab and untick Generate GetPivotData.
Want the finished dashboard instead?
My Excel templates come with these formulas already wired up. Pick one, type in your own rows and the charts update.
Browse templates ā