Applies ToExcel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2024 Excel 2021 Excel 2019 Excel 2019 for Mac Excel 2016 Office for business Microsoft Office

At any time, you can select Refresh to update the data for the PivotTables in your workbook. You can refresh the data for PivotTables imported from Power Query, such as a database (SQL Server, Oracle, Access, and so on), Analysis Services cube, a data feed, and many other sources. You can also refresh data from an Excel table, which automatically includes all changes to its external data source.

By default, PivotTables are not refreshed automatically, but you can specify that the PivotTable is automatically refreshed when you open the workbook that contains the PivotTable.

  1. Select the PivotTable to show the PivotTable Analyze tab.

  2. Select PivotTable Refresh All buttonRefresh in the Data group or press Alt+F5.Excel Ribbon Image

    Tip: You can right-click the PivotTable and select Refresh.

  3. To update all PivotTables in your workbook at once, on the PivotTable Analyze tab, select the Refresh arrow and choose PivotTable Refresh All buttonRefresh All.

If refreshing takes longer than you expect, on the PivotTable Analyze tab, select the Refresh arrow and choose Refresh Status to check the refresh status.

To stop refreshing, select Cancel Refresh.

If the column widths and cell formatting of your data adjust when you refresh the PivotTable data, and you don't want that to happen, make sure the following options are checked:

  1. On the PivotTable Analyze tab, select PivotTable Options buttonOptions.

    PivotTable Options button

  2. On the Layout & Format tab, check the Autofit column widths on update and Preserve cell formatting on update boxes.

  1. Select the PivotTable to show the PivotTable Analyze tab on the ribbon.

  2. Select PivotTable Options buttonOptions.

    PivotTable Options button

  3. On the Data tab, check the Refresh data when opening the file box.

Need more help?

You can always ask an expert in the Excel Tech Community or get support in Communities.

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.