Update Pivot Table in Excel

PivotTables are great for analyzing large amounts of data. It will help us greatly tell the story behind the data. However, there is a limitation with a PivotTable. If there are any changes in the existing data or any addition or deletion of the data, then the PivotTable cannot show the reports instantly. Hence, it requires the user’s intervention to show updated results. Updating the PivotTable to deliver results is possible by refreshing the pivot tableRefreshing The Pivot TableTo refresh pivot tables, you may use the following methods - refresh pivot table by changing data source, refresh pivot table using right click option, auto-refresh pivot table using VBA Code, refresh pivot table when you open the workbook.read more. But, this refresh is a manual process. However, with a shortcut key also, we can update the PivotTable. In this article, we will show you how to update the PivotTables.

How to Update Pivot Table?

Update Pivot Table If Any Addition to the Existing Data Set

We have seen how we can refresh the PivotTable if the data numbers of the existing data set change, but this is not the same if their addition to the current data set.

  • For example, look at the below data in an excel worksheet. We will summarize this report by adding a PivotTable. So, let us insert a PivotTable first. Our PivotTable looks like, as shown below. Ok, now we will go to the primary data and change one of the sales numbers. Cell C5’s current value is $3,801 and will change to $5,000. If you return to the Excel PivotTable and see the result for “Mechanical” remains the same as the old one is 29393. So, this is the problem with a PivotTable. To update the report to show updated results, right-click on any of the cells inside the PivotTable and choose the option of “Refresh.” Upon refreshing the report, we can see updated results now. Now, look at the result of the PivotTable. Before refreshing, we had a value of 29393 for the product “Mechanical.” After refreshing, it shows 30592.Like this, we can refresh the PivotTable if there are any changes in the existing data set.

So, this is the problem with a PivotTable.

Now, look at the result of the PivotTable. Before refreshing, we had a value of 29393 for the product “Mechanical.” After refreshing, it shows 30592.Like this, we can refresh the PivotTable if there are any changes in the existing data set.

We will add five more data lines for an example of the above existing data set.

If you go and refresh the PivotTable, it will not consider the additional data.

That is because while creating the PivotTable, it has taken the data range reference of A1:C20. However, since we added data after row 20, it would not automatically grab the data range.

To view the data range reference in the PivotTable sheet, select any of the cells of the PivotTable. It will open up two more tabs in the ribbon: “PivotTable Analyze” and “Design,” respectively. Under the “PivotTable Analyze” tab, click on the “Change Data Source” option.

It will take us to the datasheet with the already selected data range.

As we can see above, the existing PivotTable has taken the data range reference as A1:C20; since we added the new data after row number 20. So, it would not show even after refreshing the PivotTable. So, it would not show the newly updated result.

So, we need to select the new data range in the above window, so choose the new data range from A1:C25.

Click “OK.” Our PivotTable will show the updated results.

As we can see above, after changing the data range, our PivotTable shows the new results, so anything that happens to the range of cells from A1:C25 will be reflected upon refreshing.

Auto Data Range for Pivot Table with Excel Tables

As we have seen above, we needed to change the data range manually in case of additional data but using Excel tables. We can make the data range automatically picked for a PivotTable.

First, convert the data range to an Excel table by pressing “Ctrl + T.“

Click “OK.” It will convert our data range to “Excel Table.”

Now, create a PivotTable by selecting the Excel Table range.

Now, go to data and add a few lines of data after the last row of the existing data range.

Now, return and refresh the PivotTable to get the result.

Like this, we can use different techniques to update the PivotTable in Excel.

Update Multiple Pivot Table Results using Shortcut Keys

Imagine 10 to 20 PivotTables. Can you update the PivotTable by going to each PivotTable and pressing the “Refresh” button?

It is highly time-consuming. Instead, we can rely on a single shortcut key to update all the PivotTables in the workbook.

It will refresh all the PivotTables in the workbook.

Things to Remember

This article is a guide to PivotTable Update. Here, we discuss updating the PivotTable to show updated results (auto-update, shortcut key). You may learn more about Excel from the following articles: –

  • Count Unique in Pivot TableVBA Pivot Table RefreshSorting in Pivot TablePivot Table Conditional Formatting