How To Refresh A Pivot Table In Excel In Just Seconds

Refreshing a pivot table in Excel is simple either manually or automatically. Just a few clicks, and then we’re good.

What is a Pivot Table?

A pivot table is an essential Excel function that allows users to arrange and summarize complex data quickly.

This feature allows users to group their data by columns, sort it by values, and calculate statistics.

In addition to that, pivot tables are very useful when you have a large quantity of data.

Pivot Table - Sample Data

Here’s an example of data in a pivot table. In this example, we only filtered the students who got 90 in math.

Now that we already have an understanding of the pivot table, let’s finally move on to the tutorial on how to refresh a pivot table.

Refresh a Pivot Table in Excel Manually

Time needed: 1 minute

Here’s a simple guide on how to refresh a pivot table manually:

  1. Click on the pivot table.


    If you created a pivot table and made any changes in your data set, go to your pivot table, then click any cell inside the pivot table.

  2. Click the PivotTable Analyze tab.


    Next, click the PivotTable analyze tab.

    Click PivotTable Analyze Tab

  3. Click on Refresh.


    Lastly, click the refresh button, or you can also click Alt + F5 on your keyboard. Then, as you can see, upon clicking refresh, the data changed or got updated.

    Note: If you click the down arrow in the refresh button, you’ll see refresh and refresh all options.

    Click Refresh Button

Refresh a Pivot Table Automatically

Aside from manually refreshing a pivot table, you can also automatically refresh it. Here’s how:

Step 1: Click the PivotTable, then click the PivotTable analyze tab.

After clicking the analyze tab, click the PivotTable, then options.

Click PivotTable Analyze, PivotTable, then Options

Step 2: Upon clicking Options, a PivotTable Options dialog box will appear.

What you’ll do is click the Data tab, check the “refresh data when opening the file” checkbox, then click OK.

Click Data tab, checkbox, then OK

Now, every time we open the file, the pivot table will automatically refresh.

Conclusion

In conclusion, refreshing a pivot table in Excel is an easy thing to do. You just follow the simple steps in this tutorial, and you’re good.

I think we’re done with this article. I hope you’ve learned something from this. Do not forget to share this with your friends.

If you have any questions or suggestions, please leave a comment below.

What is new for PivotTable refresh in 2026

The 2026 Excel channel update added a subtle refresh status indicator in the bottom-right of the status bar. When a PivotTable is refreshing, a small spinner appears next to the sheet count. This helps confirm that a Refresh All command is still running on large workbooks with 10+ PivotTables, where earlier versions gave no visual feedback.

Excel for the web (browser) now supports manual refresh of PivotTables built on an Excel Table source. Click PivotTable Analyze > Refresh in the browser version, and the PivotTable rebuilds from the updated table. PivotTables connected to external data (SQL, Power Query) still require Excel desktop for refresh.

Common refresh problems

  • Refresh does nothing. The source range is fixed and new rows are outside it. Go to PivotTable Analyze > Change Data Source and expand the range, or convert the source to an Excel Table (Ctrl T) so it grows automatically.
  • Calculated field returns an error after refresh. The calculated field references a column that was removed or renamed in the source. Open PivotTable Analyze > Fields, Items, and Sets > Calculated Field and update the formula.
  • OneDrive-hosted file does not refresh. Excel for the web supports table-based refresh but not external data. Open the file in Excel desktop, refresh, save, and the OneDrive copy updates.
  • Refresh All is slow on large workbooks. Multiple PivotTables that share the same source can be linked with Use an external data source and rebuild only the shared cache. In Excel Options > Advanced > Data, tick Disable undo for large PivotTable refresh operations to speed things up.

Automating refresh with VBA

To refresh every PivotTable in the workbook automatically when a worksheet is activated, right-click the sheet tab, choose View Code, and paste:

Private Sub Worksheet_Activate()
    ThisWorkbook.RefreshAll
End Sub

Save the workbook as .xlsm (macro-enabled) for the code to run.

Quick step-by-step summary (click to expand)
  1. Click inside the PivotTable Click any cell inside the PivotTable to activate the PivotTable Analyze tab on the ribbon.
  2. Refresh a single PivotTable Click PivotTable Analyze > Refresh, or press Alt F5 as a shortcut. The PivotTable pulls the latest source data.
  3. Refresh all PivotTables at once Click PivotTable Analyze > Refresh > Refresh All, or press Ctrl Alt F5. Every PivotTable in the workbook updates.
  4. Enable auto-refresh on file open Open PivotTable Analyze > Options, go to the Data tab, and tick Refresh data when opening the file. Click OK.
  5. Verify the refresh completed Check the corner cell of the PivotTable. Any new rows in your source appear immediately after a successful refresh.

Frequently Asked Questions

What is the keyboard shortcut to refresh a Pivot Table?

Press Alt F5 to refresh the active PivotTable. Press Ctrl Alt F5 to refresh every PivotTable in the workbook at once.

How do I refresh a Pivot Table automatically when opening the file?

Click inside the PivotTable, go to PivotTable Analyze > Options, click the Data tab, and check Refresh data when opening the file. Click OK.

Why does my Pivot Table not pick up new rows in the source?

The source range is fixed. Either convert your source to an Excel Table (Ctrl T) so it auto-expands, or manually update the range with PivotTable Analyze > Change Data Source.

Can I refresh Pivot Tables in Excel for the web?

Yes for PivotTables built on Excel Tables. External data sources like SQL or Power Query still require the Excel desktop app to refresh.

How do I stop a Pivot Table refresh that is taking too long?

Press Esc during the refresh. Excel cancels the operation and reverts the PivotTable to its previous state.

Does refreshing a Pivot Table break Slicers or filters?

No. Slicers, Timelines, and filters remain applied after a refresh. If a filtered value no longer exists in the source, the Slicer button appears grayed but the filter is preserved.

Elijah Galero

Programmer & Technical Writer at PIES IT Solution

Elijah Galero is a programmer and writer at PIES IT Solution, author of 175+ tutorials at itsourcecode.com. Specializes in Python error debugging (AttributeError, TypeError, ModuleNotFoundError), Python programming tutorials, and Microsoft Excel how-to guides for BSIT students and productivity learners.

Expertise: Python · Python Errors · Python AttributeError · Python TypeError · ModuleNotFoundError · MS Excel · MS PowerPoint  · View all posts by Elijah Galero →

Leave a Comment