Last updated on November 9th, 2026 at 01:08 pm
To refresh a pivot table in Excel, click any cell inside it and press Alt + F5, or right-click the pivot table and choose Refresh. To update every pivot table in the workbook at once, select Data > Refresh All or press Ctrl + Alt + F5. If rows you added still don’t show up, the pivot table’s source range needs to be expanded first (see Make new rows show up).
Applies to: Excel for Microsoft 365 (Windows and Mac), Excel 2024, Excel 2021, Excel 2019, Excel 2016 and Excel for the web. Keyboard shortcuts are for Windows. The steps follow Microsoft’s Refresh PivotTable data page.
Why a pivot table needs refreshing
A pivot table doesn’t read your worksheet directly. When you create one, Excel copies the source data into a hidden store called the pivot cache and builds the report from that copy. When you change a number in the source, the cache still holds the old value, so the pivot table keeps showing old totals until you refresh it.
Refreshing reloads the cache from the source and recalculates the report. It doesn’t change your source data, and it doesn’t reach beyond the source range the pivot table was built on. That second point explains most “my refresh didn’t work” problems.
Refresh one pivot table
- Click any cell inside the pivot table. Two extra tabs appear on the ribbon: PivotTable Analyze and Design. If you don’t see them, you clicked outside the pivot table. If you can’t locate the pivot table at all, finding a pivot table in Excel walks through the clues.
- Select the PivotTable Analyze tab.
- In the Data group, select the top half of the Refresh button. Selecting the arrow under it opens a menu with more choices, covered below.

- Check the totals. Values that changed in the source now appear in the pivot table, and items you renamed or deleted in the source are updated in the row and column labels.
Two faster routes do the same thing: right-click any cell in the pivot table and choose Refresh, or press Alt + F5.
Example: Priya’s sales sheet shows Jordan with $4,200 in March. She corrects the source cell to $4,750, but the pivot table still says $4,200. After Alt + F5, Jordan’s March total and the grand total both update.
Pivot tables built from the same source range usually share one pivot cache, so refreshing one of them updates the others too.
Can I refresh only one pivot table when several use the same data?
Not usually. Pivot tables that share a pivot cache refresh together. If you need one to stay frozen, copy it and use Paste Special > Values to keep a static snapshot.
Refresh every pivot table in the workbook
When a workbook has several pivot tables, or pivot tables built on different sources, refresh them all in one step. Use any of these:
- Data > Refresh All (in the Queries & Connections group). This works even when no pivot table is selected.
- PivotTable Analyze > Refresh arrow > Refresh All.
- Ctrl + Alt + F5, which Microsoft’s Excel keyboard shortcut list describes as “Refresh all data in the workbook.”
Refresh All also refreshes queries and external data connections, not just pivot tables. In a workbook with large Power Query or database connections, it can take a while.
Check on or stop a slow refresh
For a refresh that seems stuck, select the Refresh arrow on the PivotTable Analyze tab and choose Refresh Status to see progress, or Cancel Refresh to stop it. Pressing Esc also stops a refresh operation.
Which refresh method should you use?
| Your situation | Best option |
|---|---|
| You edited a few values | Alt + F5 or right-click > Refresh |
| Several pivot tables or data connections | Data > Refresh All (Ctrl + Alt + F5) |
| You added rows or columns | Expand the source, then refresh |
| Others open the file and forget to refresh | Refresh when the file opens |
| Data comes from a database or query | Refresh every N minutes |
| You want updates the moment data changes | Auto Refresh if your Excel has it, otherwise a short macro |
Make new rows show up
If you typed new rows below your data and they’re missing after a refresh, the pivot table is still pointed at the old range. You have two fixes.
Option 1: Change the data source
- Click inside the pivot table and select PivotTable Analyze > Change Data Source. In some versions you select Change Data Source a second time from the menu that opens.
- In the Change PivotTable Data Source dialog box, the current range is shown in the Table/Range box and outlined on the sheet. Drag across the full data, including the new rows, or edit the range, for example from
Sales!$A$1:$E$200toSales!$A$1:$E$260.

- Select OK. The pivot table refreshes with the new range.
Microsoft’s Change the source data for a PivotTable page also covers switching to an external connection. It suggests building a new pivot table if the source changes a lot.
Option 2: Use an Excel table as the source (recommended)
An Excel table grows automatically when you add rows directly below it, so a pivot table based on it picks up new rows on every refresh with no range editing.
- Click inside your source data and press Ctrl + T. Confirm the range, make sure My table has headers is checked, and select OK.
- Note the table’s name on the Table Design tab, such as Table1.
- Click inside the pivot table, select PivotTable Analyze > Change Data Source, type the table name (for example
Table1) in the Table/Range box, and select OK.
More on setting up tables is in creating a table in Excel. If you’re starting a new report, convert the data to a table first and then follow the steps for making a pivot table in Excel.
Refresh a pivot table automatically
Excel offers several kinds of automatic refresh, and each one fires at a different moment. Pick the one that matches when your data changes.
Refresh when the file opens
- Right-click any cell in the pivot table and choose PivotTable Options. (You can also select PivotTable Analyze > Options.)
- Select the Data tab.
- Check Refresh data when opening the file and select OK.

- Save and close the workbook, then reopen it to confirm the pivot table shows current figures.
This runs only once, at open. Edits you make while the file is open still need a manual refresh. On a very large workbook it also adds time before the file is ready to use.
Auto Refresh (newer Microsoft 365 builds)
Microsoft is adding an Auto Refresh feature that updates a pivot table as soon as its source data in the same workbook changes. As of October 2026, Microsoft’s refresh page lists it for Microsoft 365 Insider program participants, so many people won’t see it yet.
- If you have it, the Auto Refresh button sits in the Data group of the PivotTable Analyze tab. It’s on when the button has an outline around it.
- The same setting appears in PivotTable Options > Data as Automatically refresh when the data source changes.
- It’s set per data source, so turning it off affects every pivot table built on that source.
- New pivot tables from local workbook data have it on by default. To change that default, go to File > Options > Data, select Edit Default Layout, open PivotTable Options and clear the option on the Data tab.
Refresh every few minutes (external data only)
Timed refresh is a property of a data connection, so it’s available only when the pivot table gets its data from a query, database or other external source, not from a plain range on a worksheet.
- Select Data > Queries & Connections.
- In the pane that opens, select the Connections tab (or Queries for a Power Query), right-click the item and choose Properties.
- On the Usage tab, check Refresh every and enter the number of minutes. You can also check Refresh data when opening the file here.
- Select OK.
The workbook has to be open in Excel for the timer to run. Enable background refresh on the same tab lets you keep working while the query runs.
Refresh on every change with a macro
If you don’t have Auto Refresh and your data is in the workbook, a short event macro can refresh everything whenever the source sheet changes. Before you add it, know the trade-offs: the file must be saved as an Excel Macro-Enabled Workbook (.xlsm), macros don’t run in Excel for the web, and each automatic refresh clears Excel’s undo history, so Ctrl + Z won’t take back your earlier edits.
- Right-click the tab of the sheet that holds the source data (not the pivot table sheet) and choose View Code.
- Paste this code into the window that opens:
Private Sub Worksheet_Change(ByVal Target As Range) Application.EnableEvents = False ThisWorkbook.RefreshAll Application.EnableEvents = True End Sub - Close the Visual Basic window, then select File > Save As and choose Excel Macro-Enabled Workbook (*.xlsm). If you save as .xlsx instead, Excel drops the code.
- Change a value in the source and check that the pivot table updates on its own.
The EnableEvents lines stop the refresh from triggering the macro again. To remove the macro later, open View Code on the same sheet and delete the lines.
Is there a summary that never needs refreshing?
Yes. In Microsoft 365, the GROUPBY and PIVOTBY formulas build pivot-style summaries that recalculate whenever the data changes. See how to use PIVOTBY in Excel for an example. If refreshing gets tedious, a GROUPBY formula summary recalculates as soon as the source cells change.
Does “Save source data with file” affect refreshing?
Yes, for external data. That option on the Data tab of PivotTable Options stores a copy of the source with the workbook. If you clear it, the file gets smaller, but you must refresh before you can work with the pivot table after reopening it. Pictures, unused rows and old links can bloat a workbook too, and each one is covered in how to reduce the size of an Excel file.
Once your refresh works, try turning your source data into an Excel table. It’s the one change that makes every future refresh pick up new rows without any extra steps.
Keep column widths and formatting after a refresh
If your column widths snap back every time you refresh, change two settings:
- Right-click the pivot table and choose PivotTable Options.
- On the Layout & Format tab, clear Autofit column widths on update. With it cleared, Excel keeps your current widths.
- Keep Preserve cell formatting on update checked, and select OK.
If formatting you applied by hand still disappears, Microsoft’s PivotTable options page recommends using a PivotTable style for formatting you want to keep. Other layout changes are in editing a pivot table in Excel.
Refresh on a Mac or in Excel for the web
Excel for Mac and Excel for the web use the same commands: click inside the pivot table, select PivotTable Analyze > Refresh, or select the arrow on the Refresh button for more options. Right-clicking the pivot table and choosing Refresh also works, and Data > Refresh All updates everything. The Windows function-key shortcuts above may not work the same way on a Mac keyboard, so use the ribbon if they don’t respond. In the browser, open the file in Editing mode, and remember that VBA macros won’t run there.
Troubleshooting refresh problems
New rows or columns are missing
The source range doesn’t include them. Expand it with Change Data Source or switch to an Excel table, as described in Make new rows show up. A new column also has to be added to the layout: tick it in the PivotTable Fields pane after the refresh.
Refresh is grayed out
You may still be editing a cell (press Esc or Enter), the sheet may be protected (select Review > Unprotect Sheet, refresh, then protect it again), or the file may be open in read-only or Protected View (select Enable Editing).
“A PivotTable report cannot overlap another PivotTable report”
The refreshed report needs more rows or columns than it has room for. Move one pivot table with PivotTable Analyze > Move PivotTable, or insert blank rows or columns between them, then refresh again.
“The PivotTable field name is not valid”
A column in the source range has a blank header, or a header row was deleted. Type a heading in every column of the source, and make sure the source range still starts at the header row.
Deleted items still appear in filter lists
Old values linger in the pivot cache. In PivotTable Options > Data, set Number of items to retain per field to None, select OK, and refresh.
Totals look wrong after refreshing
Some source numbers are probably stored as text, which a pivot table counts instead of sums. Convert them to numbers, check that the field uses Sum rather than Count, and refresh. Blank rows inside the source range can also cut off data.
External data won’t refresh
The source file may have moved, been renamed, or need you to sign in again. Open Data > Queries & Connections, right-click the connection, and check its properties or source location. Microsoft’s Refresh an external data connection in Excel page covers connection settings in more detail.
Does refreshing a pivot table change my source data?
No. Refreshing only reads the source and rebuilds the summary. Your original rows stay exactly as they were.
How to confirm the refresh worked
Pick one value you know has changed and check it in the pivot table after refreshing. Then compare the grand total with a SUM of the source column: if they match, every row is included. To switch off an automatic option later, clear the same checkbox or button.

Matt Jacobs writes and maintains the guides on Support Your Tech, which he started in 2017. He spent most of his career keeping small-business PCs running and still takes the occasional consulting job, so the steps here come from fixing the same problems on other people’s computers. Every guide is checked on his own Windows 11, Windows 10, Mac, iPhone and iPad before it goes up.