New Tool Radar

AI for Data & Spreadsheets

How to Refresh a Pivot Table in Excel Before Sharing the Workbook

Refresh a pivot table in Excel before sharing the workbook so it shows the latest data.

Schematic with three steps: Check the source data for changes since; Refresh the pivot and re-check the changed; Check the grand total against a hand.

A pivot table keeps the figures from its last refresh until you refresh it again, so a workbook shared after the source data changed still shows the old numbers. The reader has no way to know the pivot is stale: the totals look finished and the dates look current. Refresh every pivot, and check the grand total, before the workbook leaves your hands.

What you need

  • The workbook with the pivot table and its source data
  • A note of the latest change to the source data
  • Access to the source data, to confirm the new figures

Step 1: Check the source data for changes since the last refresh

Look at the source table for rows added or values changed since the pivot was last refreshed. Note one changed value and what the pivot should show for it after a refresh.

Step 2: Refresh the pivot and re-check the changed value

Click inside the pivot table, choose PivotTable Analyze, Refresh, or press Alt+F5, then check the value you noted. It must now show the new figure; if it does not, check that the pivot’s source range covers the new rows.

Step 3: Check the grand total against a hand total

Add the source values by hand or with a SUM and compare with the pivot’s grand total. Only when they agree is the workbook ready to share.

Worked example: synthetic sales pivot after new rows

The table below is a synthetic example. It shows the expected result of refreshing a pivot before sharing; no workbook was opened.

Check Value Result
New rows added to the source 5 Since the last refresh
Pivot total before refresh 1,000 Stale
Pivot total after refresh 1,250 Includes the new rows
Hand total of the source 1,250 Matches the pivot
Ready to share Yes Totals agree

Expected result (UNTESTED). the pivot shows 1,000 before refresh, but the source now totals 1,250 after 5 new rows; refreshing the pivot gives 1,250, which matches the hand total, and the workbook is ready to share. This check was not run live; the table shows the expected result for the synthetic example.

Limits

  • A pivot does not refresh itself when the source changes, except where Auto Refresh is turned on for that data source.
  • New rows outside the pivot’s source range are not picked up by a refresh; widen the range or use a table.
  • Refresh All refreshes every pivot and query in the workbook, which can take a while on a large file.
  • A pivot built on an external source needs the source to be reachable before it can refresh.

Sources

See all