If your pivot table is created in Microsoft 365, Excel 2021, Excel 2019, Excel 2016, Excel 2013, Excel 2010 or Excel 2007, you can refresh it quickly and easily with just a few clicks, or even automatically.
Excel Pivot table Refresh is extremely easy. There are multiple ways to refresh a pivot table in any version of Microsoft Excel. And they can be used without writing any VBA code too. Today I’ll show you 4 ways of how to refresh pivot table.
Why do you need to refresh the pivot table?
When you create a pivot table in Excel, Microsoft reads the entire data into its memory in a Pivot cache. This pivot cache is then used to build a summarized version of the report from this compressed source data. The pivot cache is actually stored internally within the Excel file and is read into memory whenever you open that Excel file.
Unfortunately, this pivot cache is not automatically refreshed every time you edit the original data.
Key Reasons Why You may need to Refresh a Pivot Table in Excel
- A refresh of the pivot table is necessary when the underlying data changes,
- A source data value is corrected or updated at a subsequent time,
- Additional Rows are added in the raw pivot table data source,
- Existing Rows are deleted in the original data used as a source for the Pivot Table, or
- When the day, week, month or quarter changes, new data arriving from the sources (SAP, ERP, upstream data sources) changes.
So when you create a pivot table to analyze data, and then after a few days or weeks, the data has changed, you do not need to re-create the Pivot Table. You can simply refresh it.
As you can see, there are several instances when data changes, and we need to refresh the Pivot Table. Any or all of these use cases make it necessary to refresh the pivot table – manually or automatically.
The key way to do this pivot table refresh is to prod Excel into refreshing the pivot table manually, or automatically, depending on your choice. The options to do this in many ways is listed in this article, in detail.
First of all, you must create a Pivot Table in any version of Excel. Then you can summarize data, group it, and analyze it your way. Actually, there are more than a dozen things you can do with Excel pivots, that will truly transform your data.
As mentioned, all of these versions are supported: Microsoft 365, Excel 2021, Excel 2019, Excel 2016, Excel 2013, Excel 2010 and Excel 2007. You can refresh the pivot table in any of these Excel versions.
4 Methods: How to Refresh a Pivot Table in Excel
Method 1 to Refresh Pivot Table Manually: Existing Data Values change, but there is no change in the number of rows of data:
In this method to manually refresh the pivot table in Excel, you can make any changes to the data first.
Then go to the Pivot Table. Right-click inside the Pivot, and choose the Refresh option from the right-clicked menu. (See screenshot below for the Refresh option in the Pivot Table Right click menu).
The Pivot Table is refreshed immediately. Use this easy way every time the source data changes. To use this method to refresh a pivot table manually, your cursor must be inside the pivot table. It can be anywhere inside there.
You can also click on the Refresh All button in the Excel Ribbon, on the PivotTable Analyze menu.
Method 2 to Refresh Pivot Table Manually when New Data Arrives: There is a change in the size of the data in Excel:
New rows or columns are added to the data set, and this new data is not reflected inside the pivot table. In this case, we need to redefine the data range source used for the pivot table, to include the latest data rows & columns. There are a couple of ways to do this.
a. If your pivot table is based on data from a range of cells, like cells A1:G100, you need to expand this range to include additional rows and columns.
The easiest way is to go to Pivot Table Analyze Tab in the Ribbon and choose the Change Data Source option button. The current source data range is highlighted. Go ahead and reselect the new data range, and click the OK button in the dialog box.
Once the data source is updated to reflect the newly added data, the Pivot table is refreshed automatically too. If you wish, you can click on the Refresh button on the Pivot Table Analyze tab again at any time.
Once this is done, then you can click on the Refresh All button, and the pivot table is refreshed from the newly selected rows/columns, and updated in the pivot. The pivot table has been refreshed instantly.
b. If your pivot table is based on a Table, like Pricing_Table, Table1, and has been converted into a Table, the job is much easier.
c. All you need to do is to click on the Refresh button under the PivotTable Analyze Tab, and the pivot table is refreshed automatically.
Using a Table as a data source for the Pivot Table is a good practice you should use more often. It uses the entire Excel table when creating a new pivot table, and any extra rows added or removed later on will automatically be considered as part of the Pivot Table. Thus, whenever you add new rows or remove rows from the underlying table, and then click the Refresh button, it will automatically refresh a pivot table.
Method 3 to Automatically Refresh a Pivot Table upon Opening the File: Simyly Set the Pivot Table to Automatically Refresh every time the Excel file opens:
This is the best option because you do not have to remember to refresh the pivot table at all. The pivot table is refreshed automatically every time the Excel file is opened.
To refresh the pivot table automatically upon opening the Excel file, go to the Pivot Table Analyze tab, and look for Pivot Table Options button.
When the above popup opens, go to the Data tab, and then select the third check box “Refresh data when opening the file”. (See Screenshot above).
This will ensure that every time you open the Excel file, the Pivot table will refresh automatically.
But be careful, if there are large amounts of data, or uses an external data source, the data is stored externally in a shared drive, the initial opening refresh may take some time. During this time, it may seem that Excel is not responding.
So just be patient for a few moments, and once the refresh is complete, you are good to begin your analysis of the latest, refreshed data.
Also, at the time of running this automatic refresh, you must have access to the data source. This means that the person opening the file must have access to the shared file path, and have the associated permissions to open the source file to read, update and consume it.
That’s it. We have successfully refreshed our pivot table in Excel. If you had created any custom calculation in the Pivot table, that custom calculation will be automatically updated too.
With these methods, you can refresh a pivot table manually or automatically.
Keyboard Shortcuts to Refresh the Pivot Tables in Office 365, Excel 2019 & All Other Excel Versions
Once you are inside a pivot table, you can click ALT + F5 keys together to force a manual refresh of the pivot table using this keyboard shortcut.
If you want to refresh all pivot tables using keyboard shortcuts, you can click Control+Alt+F5 keys together. This will refresh all pivot tables on the Excel file. This is a good option if you have multiple pivots, and do not want to refresh them manually, one by one.
How To Refresh a Pivot Table in Earlier Versions of Excel
If you are using an earlier or outdated version of Excel, you can still refresh the pivot table by using the step outlined above, with some minor changes to the menu or options inside the Pivot Table.
How to Refresh Pivot Table in Excel 2016:
- Right-Click inside the Pivot Table & Choose Refresh.
- Redefine the range of the source data by clicking on the Change Data Source button.
- Use a Table as a source of data. That way, when the data increases, the Table will expand, and all you need to do is to click Refresh on the Analyze Tab.
- Automatically Refresh a Pivot Table upon opening by setting the Pivot Table Options under the Analyze Tab.
How To Refresh Pivot table in Excel 2013:
- First, make the Pivot Table.
- Right-Click inside any single Pivot Table & Choose Refresh.
- Redefine the range of the source data by clicking on the Change Data Source button. This is available under Pivot Table Options or the Pivot Table Analyze tab. Different versions patches may show you a different option.
- Use a Table as a source of data. That way, when the number of rows increases, the Table will expand, and all you need to do is to click Refresh on the Analyze Tab in Excel 2013.
- Automatically Refresh a Pivot Table upon opening by setting the Pivot Table Options under the Analyze Tab.
How To Refresh Pivot Table in Excel 2010:
- Make the Pivot Table.
- Right-Click inside the Pivot Table & Choose Refresh.
- Redefine the range of the source data by clicking on the Change Data Source button in Excel 2010.
- Use a Table as a source of data. That way, when the data increases, the Table will expand, and all you need to do is to click Refresh on the Analyze Tab.
- Automatically Refresh a Pivot Table upon opening by setting the Pivot Table Options under the Analyze Tab.
How To Refresh a Pivot Table in Excel 2007:
First, make the pivot table by clicking on the source data to select it.
- Then Click Insert > Pivot Table. Click OK to select the entire data.
- A new pivot table is created in a new Sheet in Excel 2007.
- Check the Category columns to go into Rows. Check the Numeric values you want to summarize in the Values Area.
- Then go to the pivot table by clicking anywhere inside the Pivot.
Now to Refresh the Pivot Table created in Excel 2007.
- Right-Click inside the Pivot Table & Choose Refresh. The data in the pivot will be refreshed.
- Redefine the range of the source data by clicking on the Change Data Source button from the Pivot Table Options Tab of Excel 2007.
- Use a Formatted Table as a source of data. If your data is not set as a table, go to Home > Format as Table. Your source data will convert to a table. Now when the data increases, the Table will expand, and all you need to do is to click Refresh on the Pivot Table Options Tab.
- Automatically Refresh a Pivot Table upon Open by setting the Pivot Table Options under the Pivot Table Options Tab.
To Refresh a pivot table in Microsoft Excel 365:
- Right-Click inside the Pivot Table & Choose Refresh.
- Redefine the range of the source data by clicking on the Change Data Source button.
- Use a Table as a source of data. That way, when the data increases, the Table will expand, and all you need to do is to click Refresh on the Analyze Tab.
- Automatically Refresh a Pivot Table upon opening by setting the Pivot Table Options under the Analyze Tab.
Best Practices for managing pivot tables in Excel
When managing pivot tables in Excel, it’s crucial to maintain efficient and organized data sources. This includes regularly cleaning and structuring your data to ensure the pivot table functions correctly and efficiently. Frequent updates to your pivot table are essential to keep data accurate and relevant. This can involve setting up automatic refreshes or reminders for manual updates.
Customization and formatting are key to making your pivot tables more readable and impactful. Utilize Excel’s formatting options to highlight key data and make your tables more intuitive. Additionally, be mindful of performance, especially with large datasets. Employ strategies to optimize pivot table performance, like reducing the use of complex calculated fields or unnecessary data.
Finally, familiarize yourself with common troubleshooting issues. Knowing how to quickly resolve common problems with pivot tables can save time and reduce frustration. This might include fixing broken source links, dealing with incorrect data aggregation, or addressing performance lags. By following these best practices, you can ensure your pivot tables are both effective and efficient.
In Conclusion
With all these versions of Excel created by Microsoft, it is possible to refresh a pivot table manually or automatically. And it is almost similar or identical in the different versions. Once you master it, you can do the refresh in any version of Excel.
Hope this helps you.
Do share it, and subscribe to our ExcelChamp Newsletter to be notified of new tips and tricks in Excel to make you super awesome in utilizing Excel in your everyday work!
Cheers,
Vinai Prakash
Join the next cohort of Excel Data Analysis MasterClass