Skip to content
Golinder Press

A closer read of the original

Menu
Manual Margins

Why an Excel PivotTable Can Miss a New Row After Refresh

A new row below the last row of an Excel PivotTable’s source range can go uncounted even after a successful refresh. The source range is the block of cells the report was built to read. Refresh reads the cells inside that block again. Microsoft documents a separate command for moving the boundary: Change Data Source.

A separate row of yellow tiles sits below a grid of blue and cream tiles on a wooden table.

Which cells does the PivotTable read?

A PivotTable is a report that groups records and calculates a result for each group. In a library inventory, a worksheet might put the book title and collection in separate columns; a PivotTable could then group by collection and count titles. Microsoft’s setup instructions put the field names in a single header row and the records underneath. In the fixed-range version of that layout, the original selection starts at the headers, stretches across the columns needed by the report, and stops at the last row selected. The worksheet itself keeps going.

That boundary matters because the report has an intermediate copy of the data. Microsoft calls it the cache: a snapshot of the source that Excel uses to build the report. The original worksheet stays intact while the PivotTable groups or summarizes the copy. A librarian can put the collection labels down the left side of the report or rearrange its fields without moving a book title from its original cell. Both arrangements still depend on the same collection of records in the cache.

From inventory entry to report total
  • Worksheet: Holds the inventory records.
  • Source range: Marks the cells that supply the report.
  • PivotTable cache: Holds a snapshot of those cells.
  • PivotTable: Groups and counts the records in that snapshot.

What happens to a record below the last selected row?

The new book stays on the worksheet, just past the lower edge of the source. The issue is easiest to see alongside an edit that lands inside that edge. Correcting the collection of an existing book changes a cell the PivotTable already reads. After a refresh, the corrected record can move into the proper group. Typing another title just beneath the fixed selection changes a cell the report has never read. A refreshed report can therefore show the correction and omit the addition at the same time.

That combination is useful when the report looks stale. A correction that makes it through tells the workbook owner that Excel has picked up at least one change. The missing addition still calls for a look at the source itself. An unchanged total on its own gives less information. Moving a book from one collection to another can change the count for each collection while leaving the grand total where it was. The detail that matters is whether the entry falls inside the reference and whether the result being examined is the one that entry would change.

The command for inspecting the reference is the same one that changes it. In Microsoft’s Windows instructions, selecting the report exposes the Analyze tab; Change Data Source in its Data group opens a dialog with the Table/Range box. The worksheet named in that reference matters as much as its last row. A recurring report may sit on its own sheet, and the cells visible behind the dialog can belong to the output rather than the inventory. The reference identifies the worksheet and cells that actually supply the data.

Microsoft Support describes what the command can do: "For example, you can expand the source data to include more rows of data." The workbook owner can extend the selection through the new entry while keeping the header and the existing records in the block. The book stays in the same worksheet cell. Now that cell is inside the report’s source.

Checking and extending a fixed source range
  1. Locate the source: Change Data Source opens the Table/Range field.
  2. Find the lower edge: The last selected row sets the end of the source.
  3. Extend the selection: The input now covers the headers, existing records, and appended entry.
  4. Update the report: Refresh reads the configured source.

Being inside the source also helps narrow a different problem: a count that remains surprising after the row is included. Microsoft explains that Excel normally sums numeric values and counts values it interprets as text when a field is placed in Values, the area that holds the calculations. A book count depends on which field is being counted. A title field and a column of numeric copy quantities support different questions: how many entries have titles and how many copies those entries represent. Value Field Settings is where Excel displays the calculation behind the figure.

The report can also be set to show only part of the source. Microsoft calls one such control a report filter, an item selector displayed above the PivotTable. It lets the librarian display the collection under review and hide the others. A book filed under one of the hidden collections can be inside the source, and the refresh can have brought it into the cache, while the report remains focused on the selected collection. Microsoft’s filter instructions also cover selecting individual items from the label menus inside the report. The selection to inspect is the one that controls the part of the report where the book was expected.

There is a useful order to these checks. The source box answers whether the record was available to the report in the first place. The label menus and the report filter narrow the displayed set. The calculation then determines what the displayed entries contribute to the result. In the inventory, calling them all a refresh problem sends the workbook owner back to the same button even though the likely remedy could be a longer source range, a different filter selection, or a different field in Values.

What changes when the source is an Excel table?

An Excel table is a named data block whose boundary can grow as records are added. The distinction shows up in Microsoft’s own worksheet example: typing in cell A4 extends the table to include that cell and the adjacent cell in column B. Both cells were beneath the table before the entry. Once the table expands, both are inside the named block, which still has the same identity for a report that uses it as its source.

For a PivotTable sourced from that table, Microsoft’s setup guide says new table rows are picked up when the report refreshes. Behind the familiar Refresh command, Excel now has a larger source to read. A report that still points to the old fixed range follows that reference, even if the worksheet owner has turned those same cells into a table. For the table’s expansion to help the report, the table has to be the source listed in the dialog.

The boundary is worth checking during a large paste, too. Microsoft’s table instructions put the start of a pasted row in the leftmost cell below the last table row. A paste that is as wide as the table or narrower can be absorbed as new rows. A paste wider than the table leaves extra columns outside; the same instructions point to Resize Table to bring those columns in. The layout may look continuous on the sheet while the table ends partway across it.

There is a corresponding change on the report side when the input grows sideways. Microsoft’s setup manual says that new columns added to the source table appear in the PivotTable Fields list, where a workbook owner chooses what the report displays. For an inventory that gains a shelf-location field, the added column makes location available as another way to group the books. Only a change in the report layout puts that field into use. Appending records beneath the existing headers is the simpler case: the report can count the additional titles with the same fields it was already using.

What changes when a record is appended
SourceWhat happens at the bottom edgeWhat Refresh reads
Fixed cell rangeThe added row sits beyond the saved endpointThe cells inside the original selection
Expanding Excel tableThe added row becomes part of the tableThe expanded table, when that table is the source

How does refresh on open differ from Auto Refresh?

Refresh on open runs when the workbook is opened. In Microsoft’s Windows instructions, that setting lives under PivotTable Analyze, Options, and the Data tab, where the checkbox reads "Refresh data when opening the file". An inventory report opened at the start of the day can therefore start from the latest contents of the source already configured for it. Later edits made during that session can be picked up with a manual refresh. If the recorded range still stops above the new books, opening the workbook again runs the update against that same boundary.

Auto Refresh, the name Microsoft uses for its newer feature, responds to changes in the source while the workbook is in use. An edit inside a fixed range can trigger it; a row added to an Excel table can trigger it when the row becomes part of the table the report uses. These are changes to data that belongs to the source. Change Data Source, by comparison, changes which cells or table supply the data. The difference matters most when the workbook owner has already watched Refresh run and is considering giving it another chance.

Microsoft’s support page identifies PivotTable Auto Refresh as available to participants in the Microsoft 365 Insider program. The program’s guide covers local workbook data, meaning data stored in the workbook itself. A workbook that depends on an external connection follows the refresh options available for that connection and report. For a local inventory workbook, the first place to look is still the source box: a faster trigger makes little difference to an entry beyond the saved endpoint.

The Insider guide also describes a circumstance in which the toggle can be on and the behavior can still look manual: the feature is unsupported while multiple people are editing the workbook. That distinction can matter for an inventory maintained across a team. A colleague can enter a title inside the source while someone else has the workbook open for editing. The saved source can be correct even though the report needs a manual update during that shared session.

The triggers and the source setting
ControlWhen it actsWhat it does
RefreshWhen run by the workbook ownerUpdates the report from the configured source
Refresh on openWhen the workbook opensUpdates the report from the configured source
Auto RefreshWhen supported local source data changesUpdates reports connected to that source
Change Data SourceWhen a different range or table is selectedChanges which data the report reads

Once the source includes the growing list, the remaining decision is how often the report should catch up. In Microsoft’s July 25, 2025 Insider announcement, Excel product manager Valerie Kistrina gives the next step for an existing PivotTable in a supported build: with the report selected, the workbook owner can find the Auto Refresh control on PivotTable Analyze. It sits in the same Data group as the button that changes the source.

Frequently Asked Questions

How does a PivotTable refresh from its worksheet?

A PivotTable has a Refresh command in the menu that opens when someone right-clicks inside the report. When a refresh takes longer than expected, Microsoft’s Windows instructions also identify a Refresh Status command under the Refresh arrow on PivotTable Analyze. That status concerns the update in progress; the Table/Range box identifies the cells being read.

How is automatic refresh enabled in Excel?

In an Excel build that supports Auto Refresh, the button on PivotTable Analyze shows an outline when the feature is on. Microsoft also describes a separate default for new reports: under File, then Options, the Data pane has an Edit Default Layout button under Data Options. That setting is useful when setting up new reports, while the button on the ribbon applies to the active source.

Can Excel refresh every PivotTable in a workbook at once?

Excel for Windows offers Refresh All under the Refresh arrow on PivotTable Analyze. Microsoft documents it as a way to update all PivotTables in the workbook in one operation. Each report still uses its configured source, so a workbook-wide refresh can leave a range problem confined to one report.

What does Alt+F5 refresh in Excel for Windows?

Alt+F5 refreshes the selected PivotTable, according to Microsoft’s Windows instructions. The keyboard shortcut is the equivalent of choosing Refresh for the active report; Refresh All is a separate command for a workbook with several summaries to update.

Does Auto Refresh affect other PivotTables that share a source?

Microsoft sets Auto Refresh per data source, so switching it on or off affects all PivotTables connected to that source. The support page adds that if a workbook already contains PivotTables with Auto Refresh turned off, new PivotTables using that same source start with it off as well.

Sources

  • Microsoft: Refresh PivotTable data
  • Microsoft: Change the source data for a PivotTable
  • Microsoft: Create a PivotTable to analyze worksheet data
  • Microsoft: Resize a table by adding or removing rows and columns in Excel
  • Microsoft: Filter data in a PivotTable
  • Microsoft: Keep data updated with PivotTable Auto Refresh in Excel