Excel Dashboard Masterclass Step by step · Lab 4

Replace Hundreds of Formulas With PivotTables

Replace hundreds of formulas with one named PivotTable per question: revenue by region, headline numbers, yearly totals and a top 10.

· 5 min read

Pivots sheet with seven named PivotTables side by side
Watch the lesson: Lab 4: PivotTables for Dashboards - Step by Step | Excel Dashboard Masterclass

In Lab 3 we wrote a formula for every total. That does not scale: revenue for four regions, four categories and twenty-four months would be hundreds of formulas. A PivotTable adds up thousands of rows by any column with a few clicks. In Lab 4 we build one PivotTable per question, each with a name, on one sheet.

Step 1: The first PivotTable

Add a sheet named Pivots, select A3, then Insert → PivotTable. Source: type the table name, tbl_Sales; this is why the data was made a table. Destination: existing sheet, Pivots!A3.

Insert PivotTable pane with the table name as source
The source is the table, so new rows are picked up on refresh.

The PivotTable Fields pane: every column at the top, four areas below. Rows: what you compare. Columns: a second split. Values: the numbers. Filters: limit the whole table.

PivotTable Fields pane with the field list and the four areas
Fields and areas.

Add Region to Rows and Revenue to Values: four regions and a grand total of $2,100,904, the same total as SUM gave in Lab 3. Name it PVT_Region and sort largest first: West leads with $657,166.

Revenue by region PivotTable sorted with West first
Thousands of rows, added up by region, with no formula.

Step 2: The headline numbers

At E3, a PivotTable with no rows, only values: Revenue, Profit, Units, and Order ID, which is text, so Excel counts it. Four numbers in one row: 2,100,904 revenue, 753,610 profit, 23,929 units and 3,967 orders. Name it PVT_KPI; the dashboard cards will read these cells.

KPI PivotTable with sum of revenue, profit, units and count of order ID
One small PivotTable feeds all four KPI cards.

Then a PivotTable per Year (use Add to Rows, because a tick would add the years up): 2024 $982,841, 2025 $1,118,063, growth 13.8%, matching the formula from Lab 3.

Step 3: One per chart, and a top 10

Revenue and profit by category, profit by category alone, revenue by segment, the monthly trend (Year Month sorts correctly because it is year first with two-digit months), and the products. Twenty-four products are too many for a chart: Value Filters → Top 10 by sum of revenue.

Top 10 filter dialog on the Product field by Sum of Revenue
Top 10 items by sum of revenue.

How you know it worked

Seven PivotTables on one sheet, each named, each answering one question. Nothing on the sheet is typed by hand, and the totals match the independent formulas from Lab 3.

Category, trend and top products PivotTables on the Pivots sheet
The engine behind every number on the dashboard.

Tips that save time later

  • Name every PivotTable; slicers and GETPIVOTDATA refer to them.
  • Leave empty columns between PivotTables, so one can grow without overlapping the next.
  • Refresh after new data: the source is a table, so new rows are included.

Do it yourself

Lab guides, practice and full mock exams come with a subscription. See the plans