Refresh PivotTable Data? How to Update in Excel

How-to basics · Updated November 22, 2026

Yes, you should refresh a PivotTable after changing its source data, and in Excel for Microsoft 365 you can do it with a single click: right-click anywhere inside the PivotTable and choose Refresh, or go to the PivotTable Analyze tab (called Analyze in older versions) and click Refresh. A PivotTable is a static snapshot of the data at the moment you last refreshed it, so new rows, edited values, or deleted entries won’t appear until you refresh.

Why PivotTables Don’t Update Automatically

When you create a PivotTable, Excel copies the source data into a special internal cache (the PivotCache). This cache is what the PivotTable actually reads. Any change you make to the source worksheet does not touch that cache, so the PivotTable shows stale numbers until you force a refresh. This is by design: refreshing recalculates the entire cache, which can be slow for large datasets, so Excel leaves it manual by default.

For example, if you have a sales table with 1,000 rows and you add row 1,001, the PivotTable still shows totals based on the original 1,000 rows. Even if you sort, filter, or format the PivotTable, the underlying values stay frozen until a refresh.

How to Refresh a PivotTable (Step by Step)

  1. Click anywhere inside the PivotTable to activate the PivotTable tools.
  2. On the ribbon, go to PivotTable Analyze (Excel 2016 and later) or Analyze (Excel 2013).
  3. In the Data group, click Refresh – this refreshes only the selected PivotTable.
  4. Alternatively, right-click inside the PivotTable and choose Refresh from the context menu.
  5. To refresh all PivotTables in the workbook at once, click the small arrow under the Refresh button and choose Refresh All.

Keyboard shortcuts: Press Alt+F5 to refresh the current PivotTable, or Ctrl+Alt+F5 to refresh all (on Mac, use ⌘+R for refresh, but note that the ribbon path is the same).

Refreshing When You Add New Rows or Columns

If you add rows or columns beyond the original source range, a simple refresh won’t include them – you must also update the source range. Here’s how:

  1. Select the PivotTable, go to PivotTable Analyze > Change Data Source.
  2. In the dialog, adjust the range to include the new rows/columns (e.g., change =Sheet1!$A$1:$D$100 to =Sheet1!$A$1:$D$150).
  3. Click OK, then refresh the PivotTable.

A better long-term solution is to convert your source data into an Excel Table (select the data, press Ctrl+T). Tables expand automatically when you add data, and a PivotTable based on a Table will pick up new rows on refresh without manually changing the range.

How to Make Excel Refresh Automatically

You can set a PivotTable to refresh every time you open the workbook:

  1. Right-click the PivotTable, choose PivotTable Options.
  2. Go to the Data tab.
  3. Check Refresh data when opening the file.

This ensures that anyone who opens the file sees current numbers, but it does not refresh while the file is open. For live updates during a session, you could use a VBA macro with a timer, but that’s overkill for most users. Alternatively, if your data lives in an external source (like a SQL database or Power Query), you can set the query to refresh at intervals via Data > Queries & Connections.

Common Problems When Refreshing

  • “Cannot change this part of a PivotTable report” – This usually means you’re trying to edit a cell that is part of the PivotTable. You must refresh, not type over values.
  • New rows not appearing – As noted, the source range didn’t include them. Convert to a Table or update the range.
  • Refresh is greyed out – The PivotTable may be based on an external data source that requires a connection. Check Data > Queries & Connections.
  • Numbers look wrong after refresh – If you changed the source data’s formatting or added blank rows, the PivotTable may need a field re-set. Refresh again, or check the source for stray spaces.
  • Refresh All doesn’t work – Some PivotTables may be connected to different data sources; ensure all connections are active.

Refreshing vs. Rebuilding a PivotTable

Refreshing updates the existing PivotTable’s cache and recalculates totals, but it does not add new fields you might want. If you’ve added a whole new column to your source data, you’ll need to add that field to the PivotTable manually (drag it into the Rows, Columns, or Values area). Rebuilding a PivotTable from scratch (delete and recreate) is sometimes faster if you’ve made major structural changes, but you’ll lose any custom formatting, calculated fields, or slicer connections. Refreshing is almost always the better first step.

Refreshing in Excel for the Web and Mac

Excel for the web supports refresh, but you must click Data > Refresh on the ribbon – there’s no right-click option. It also refreshes automatically when the file is opened, but not live. Excel for Mac has the same PivotTable Analyze tab (or Analyze), and the right-click menu works. The keyboard shortcut on Mac is ⌘+R for refresh, but note that Ctrl+Alt+F5 (refresh all) is not available – use the ribbon button instead.

Frequently Asked Questions

Why does my PivotTable not show new data even after I refresh?

Most likely the new data is outside the defined source range. If you added rows below the last row, Excel won’t know about them unless you either expand the range manually or convert the source to a Table. Check the source range in PivotTable Analyze > Change Data Source and update it, then refresh again.

Can I set a PivotTable to auto-refresh every minute?

Not with built-in settings – Excel only offers refresh on file open or manual refresh. For timed auto-refresh, you’d need a VBA macro that uses Application.OnTime to call PivotTable.RefreshTable at intervals. Remember to save a copy of your workbook before running macros, as macros cannot be undone with Ctrl+Z.

What’s the difference between Refresh and Refresh All?

Refresh updates only the selected PivotTable. Refresh All updates every PivotTable, query, and data connection in the workbook. Use Refresh All when you have multiple PivotTables sharing the same source, or when your data comes from external connections.

Does refreshing a PivotTable change my source data?

No. Refreshing reads the source data and updates the PivotCache. It never writes back to the source. The only exception is if you have a PivotTable with a calculated field that writes back, which is not standard behavior.

Why does my PivotTable show “#REF!” after refresh?

This usually means the source range was deleted or renamed. Go to Change Data Source and re-select the correct range, then refresh. If the source is an external connection, check that the connection still points to the right file or database.

Is there a way to refresh automatically when I add a new row?

Yes, if you convert your source data to an Excel Table (Ctrl+T). Tables expand automatically, and any PivotTable based on that Table will include new rows on the next refresh. You still need to refresh manually (or on file open), but you won’t have to adjust the range.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.