In this guide
Appearance
Appearance
By Scot, 10+ years in IT support and helpdesk ·How these guides are checked
Click any cell in the PivotTable and press Alt + F5, or use PivotTable Analyze > Refresh. If new rows are still missing, the source range is too small — repoint it with Change Data Source.
Checked against Microsoft 365 Roadmap, Office release notes - Current Channel and between 5 Aug 2026 and 12 Sep 2026. Nothing published in that period has been linked to this guide.
A PivotTable does not read your data directly — it reads a cached snapshot taken when the report was built or last refreshed. That one fact explains almost every PivotTable complaint. This article covers refreshing, getting new rows to appear, clearing out values that no longer exist, repairing a broken source, and stopping formatting from resetting every time the report reloads.
#REF!, or refreshing raises Data source reference is not valid.Cannot group that selection.The PivotTable field name is not valid.In this guide
Note: The ribbon tab is named PivotTable Analyze in Microsoft 365 and Excel 2021, and Analyze in Excel 2016 and 2019. In Excel for the web it is PivotTable. Every instruction below works on all three — the tab is in the same place, at the right-hand end of the ribbon, and it only appears while a cell inside the PivotTable is selected.
Start here, because an out-of-date report is far more common than a broken one.
Reading data... for a moment.Two faster routes to the same place:
Refresh updates the selected PivotTable only. To update everything in the workbook at once, go to the Data tab and click Refresh All, or press Ctrl + Alt + F5. That covers every PivotTable, every Power Query, and every external connection in the file — worth using when a workbook holds four reports built from one source sheet and you need them telling the same story.
Note: A PivotTable never updates on its own, no matter how the source changes. When you create one, Excel copies the source rows into a hidden store called the pivot cache and the report reads from that copy. Editing the source sheet does not touch the cache. This is deliberate — it is what lets a PivotTable re-sort a million rows instantly — but it means Refresh is a step you own.
If the totals redrew and the report is still wrong, the symptom names the section to go to: new rows missing, Step 2; deleted names still listed in the filter dropdowns, Step 4; #REF! or Data source reference is not valid, Step 5; Cannot group that selection on a date field, Step 6; number formats and column widths resetting, Step 7.
If Refresh ran cleanly and the new rows are still missing, the report is refreshing a range that stops above them.
Check what the PivotTable is actually reading:
Sales!$A$1:$E$500 explains everything — row 501 onwards does not exist as far as the report is concerned.The permanent fix is to convert the source into an Excel Table, which grows on its own as rows are added.
SalesData and press Enter.SalesData.From this point on, any row typed directly beneath the last row of the table is absorbed into it, and the PivotTable picks it up on the next refresh.
Verification: Type a test row at the bottom of the source table. The table's banded shading extends to cover it as soon as you press Enter — that is the visible confirmation the range grew. Refresh the PivotTable and the test value appears in the report. Delete the test row afterwards and refresh again.
If you cannot convert the source to a table — a shared file that other formulas depend on, for instance — widen the range by hand instead:
$E$500 to $E$5000.That works, but it has to be repeated every time the data outgrows the range, and blank rows inside a padded range show up as a (blank) row in the report.
Warning: Pasting rows below a table with an empty row in between does not extend the table — Excel treats the gap as the end of the data. Paste into the first empty row directly under the last row of the table, with nothing skipped.
Turn this on for any report that other people open, so nobody reads yesterday's numbers.
Two limits worth knowing:
Note: PivotTable Options is a desktop feature. In Excel for the web you refresh from the PivotTable tab each time; the automatic setting carries over if it was switched on in the desktop app, so set it there once and the web copy honours it.
A customer left, their rows came out of the source, you refreshed — and their name is still sitting in the filter list.
The pivot cache keeps a record of every value a field has ever held, so old entries linger in dropdowns and slicers with no data behind them. Change what the cache retains:
If the stale names survive that refresh, the cache needs a full rebuild: save the workbook, close it, reopen it, and refresh once more.
Tip: Do this on every report that feeds a slicer. A slicer button for a discontinued product is the kind of detail that gets a report queried in a meeting, and the fix takes fifteen seconds.
#REF! across the report, or Data source reference is not valid on refresh, means the PivotTable is pointing at something that has moved, been renamed, or been deleted.
'C:\Reports\[Sales2026.xlsx]Data'!$A$1:$E$900, or open both workbooks and select the range with the mouse.If Change Data Source is greyed out, the PivotTable is built on the workbook Data Model rather than a plain range. Go to Data > Queries & Connections, right-click the connection behind the report, and choose Properties to repoint it there.
Tip:
The PivotTable field name is not validon creation is a different problem with a one-line fix: a column in the source has no header. Put a word in every cell of row 1 across the full width of the data and try again.
Cannot group that selection almost always means the column you are grouping is not entirely dates.
One blank cell, one date typed as text, or one stray TBD is enough — Excel classifies the whole field as text and grouping by month or year becomes unavailable.
The same rule governs numeric grouping: a blank or a text entry anywhere in a number column blocks grouping into ranges.
Note: In Microsoft 365, dropping a genuine date field into Rows auto-groups it into Years, Quarters and Months without being asked. When that does not happen, treat it as the signal that the column is not being read as dates and go through the steps above before troubleshooting anything else.
Currency formats and column widths that vanish on refresh are two separate settings, both in the same dialog.
Number formatting needs one more move, because a format applied from the Home tab belongs to the cells rather than to the field, and the cells are rebuilt on refresh. Attach the format to the field instead:
2, and choose your symbol.The format now travels with the field and survives every refresh, every filter change, and every rearrangement of the layout.
Verification: Refresh the report twice in a row. Currency symbols stay put and column widths hold. If widths still move, Autofit column widths on update was left checked in step 3.
WARNING
If the source data has been deleted, do not refresh. The PivotTable still holds every source row in its cache, and refreshing against a source that is gone wipes it. Recover the rows first: double-click the Grand Total cell at the bottom-right of the report and Excel writes the entire cached dataset onto a new sheet. Save that sheet, then rebuild the report from it.
| Symptom / Error | Potential Cause | Solution |
|---|---|---|
| Totals unchanged after editing the source | PivotTable not refreshed | Click inside the report and press Alt + F5, or use PivotTable Analyze > Refresh (Step 1). |
| New rows missing after a clean refresh | Source range stops above the new rows | Convert the source to an Excel Table with Ctrl + T and repoint the report with Change Data Source (Step 2). |
#REF! throughout the report | Source sheet renamed, moved or deleted | Repoint the reference in Change Data Source (Step 5). Recover cached rows first by double-clicking the Grand Total cell. |
| Deleted names still listed in filters and slicers | Pivot cache retaining old items | Set Number of items to retain per field to None, then refresh (Step 4). |
Cannot group that selection | Blanks or text in the date column | Clear the blanks, convert text dates with Text to Columns, refresh, then group (Step 6). |
| Currency formats and column widths reset on refresh | Formatting applied to cells, not the field | Check Preserve cell formatting on update, clear Autofit column widths on update, and set the format via Number Format on the value field (Step 7). |
Refresh is greyed out | Cell in edit mode, or the sheet is protected | Press Esc to leave edit mode. If the sheet is protected, unprotect it — see How to Protect a Sheet or Workbook in Excel. |
IT Tip Tuesday
Get a short, actionable IT tip in your inbox every week.
Nothing loads from beehiiv until you click. Once it does, the form sets beehiiv's own cookies and loads beehiiv's own analytics.