Articles

How do you reconcile a pivot table to its source data?

Compare the grand total with SUM on the source, then one row and one column with SUMIFS. The pattern of the difference tells you the cause.

A pivot table reads a cache, a copy of its source taken at the last refresh. It can be out of date, built on a range that misses new rows, or split by a label typed two ways. To reconcile it, compare its grand total with =SUM on the source column, then rebuild one row and one column with SUMIFS. A difference everywhere points to the source range or the refresh; a difference on one row points to the labels.

The case comes from the Excel for Finance course by Julian R. Sterling, author of The Real Estate Asset Manager.Get the DRM-free PDF, $19.99 →

The figures to match

A pivot of the case's 5,000 sales lines, Region in rows and Quarter in columns, must show exactly the SUMIFS report below.

Northgate Foods (fictional), net sales by region and quarter, FY 2026, US$.
RegionQ1Q2Q3Q4Total
North$696,656$665,058$678,667$663,944$2,704,325
South$450,079$507,946$520,181$593,087$2,071,293
East$564,872$573,575$557,113$706,075$2,401,635
West$216,630$249,257$295,246$314,580$1,075,713
Total$1,928,238$1,995,836$2,051,207$2,277,686$8,252,967

Read the pattern of the difference

PatternUsual causeFix
Grand total short, every row a littleThe pivot source is a fixed range and new rows sit below itBuild the pivot on an Excel table
Everything matches last month's dataThe cache was not refreshedData, Refresh All
One region short, an extra row appearsA label typed differently, such as "Nort"Fix the master data, then refresh
Grand total right, one quarter wrongDates grouped by calendar quarter while the report uses fiscal quartersUse a quarter key column
Totals higher than the ledgerDuplicated lines in the sourceCount lines against the system report

Make it a check, not a habit

Keep the reconciliation on a checks sheet: =ROUND(Report!H10-SUM(Sales[Net]),2) must be zero, and so must the comparison with revenue in the trial balance. In the case, three report blocks (region by quarter, category by channel, month) each tie to $8,252,967, and the master check counts the controls in error.

And do not point formulas at the cells of a pivot: when someone moves a field, the references break. Read the pivot, and build what others rely on with SUMIFS on the source.

Sources

  1. Julian R. Sterling, Excel for Finance: Formulas, Lookups & Pivot Tables (course, 2026): running case Northgate Foods
  2. Microsoft Support, documentation of SUMIFS, EOMONTH, MATCH, XLOOKUP and PivotTables (consulted November 2026)

Every figure is computed by script from the course's running case, Northgate Foods, a fictional food distributor, and checked on 27 November 2026. For education, not investment or accounting advice.

Learn the Excel that finance runs on

32 lessons on references, tables, INDEX and MATCH, XLOOKUP, SUMIFS, dates, text, pivot tables and checks, built on 5,000 invoice lines of one company, with step files, exercises, a quiz app and a certificate exam ($149).

Read module 1 free →

Questions readers ask

Why does my pivot table not match the data?

Most often the pivot was not refreshed, its source is a fixed range that misses new rows, or a label is typed two ways and splits a total.

Does a pivot table update automatically?

No. It reads a cache refreshed on demand: right-click, Refresh, or Data, Refresh All. You can set it to refresh when the file opens.

Should I reference pivot table cells in formulas?

Avoid it: the layout changes when fields move. Use GETPIVOTDATA if you must, or better a SUMIFS on the source data.

Read the whole case

This article is one calculation from The Real Estate Asset Manager. The book takes the same case from first principles to the decision, chapter by chapter, and every figure it prints is a live formula in the free companion workbooks.

See the course →Free companion files

Also on Amazon UK · Amazon Germany · Amazon France · Amazon Canada

Prefer a PDF? The same book is sold as a DRM-free PDF edition, searchable and printable. Get the PDF edition, $19.99

Also on this site

All 5643 articles →