Refreshing a PivotTable: Refresh, Change Data Source and new rows
Why a PivotTable doesn’t update when the data changes: Refresh, Refresh All, Change Data Source, auto-expanding sources with Tables, and refresh on open.
Formulas recalculate the moment the data changes. A PivotTable doesn’t. When it is created it takes a copy of the data (the pivot cache) and shows the report from that copy. Fix a number in the source or add a row — the PivotTable knows nothing about it.
A typical story: the accountant corrects an amount, you send the report to your manager — and it still has the old figure. Excel gives no warning. In this topic you’ll learn how to refresh a PivotTable, how to bring in new rows and how to automate it all.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Region | Amount | Row Labels | Sum of Amount | SUMIFS | ||
| 2 | Tashkent | 30 500 0001 | Bukhara | 26 600 000 | 26 600 000 | ||
| 3 | Samarkand | 12 000 000 | Samarkand | 20 500 000 | 20 500 000 | ||
| 4 | Tashkent | 6 400 000 | Tashkent | 41 500 0002 | 46 500 000 | ||
| 5 | Bukhara | 17 000 000 | Grand Total | 88 600 000 | 93 600 000 | ||
| 6 | Samarkand | 8 500 000 | |||||
| 7 | Tashkent | 9 600 000 | |||||
| 8 | Bukhara | 9 600 000 | |||||
| 9 |
4 ways to refresh a PivotTable
1
Right-click inside the PivotTable → Refresh. Only this PivotTable (and those sharing its cache) is refreshed.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Row Labels | Sum of Amount | ||
| 2 | Bukhara | 26 600 000 | ||
| 3 | Samarkand | 20 500 000 | ||
| 4 | Tashkent | 41 500 000 | ||
| 5 | Grand Total | 88 600 000 | ||
| 6 |
2
From the keyboard: inside the PivotTable press Alt + F5 to refresh the current PivotTable.
3
Данные → Обновить все (Ctrl + Alt + F5) refreshes every PivotTable and external connection (Power Query queries) in the file. The most reliable button before you send a report.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Row Labels | Sum of Amount | ||
| 2 | Bukhara | 26 600 000 | ||
| 3 | Samarkand | 20 500 000 | ||
| 4 | Tashkent | 46 500 000 | ||
| 5 | Grand Total | 93 600 000 | ||
| 6 |
4
Refresh automatically when the file opens: right-click the PivotTable → PivotTable Options → Data tab → tick Refresh data when opening the file.
| A | B | C | D | |
|---|---|---|---|---|
| 1 | Row Labels | Sum of Amount | ||
| 2 | Bukhara | 26 600 000 | ||
| 3 | Samarkand | 20 500 000 | ||
| 4 | Tashkent | 46 500 000 | ||
| 5 | Grand Total | 93 600 000 | ||
| 6 |
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Date | Region | Manager | Product | Qty | Amount | |
| 2 | 15.01.2025 | Tashkent | Aziz | Laptop | 3 | 25 500 000 | |
| 3 | 20.02.2025 | Samarkand | Dilnoza | Monitor | 5 | 12 000 000 | |
| 4 | 10.04.2025 | Tashkent | Malika | Printer | 2 | 6 400 000 | |
| 5 | 05.05.2025 | Bukhara | Javohir | Laptop | 2 | 17 000 000 | |
| 6 | 18.07.2025 | Samarkand | Dilnoza | Laptop | 1 | 8 500 000 | |
| 7 | 22.08.2025 | Tashkent | Aziz | Monitor | 4 | 9 600 000 | |
| 8 | 12.11.2025 | Bukhara | Javohir | Printer | 3 | 9 600 000 | |
| 9 | 01.12.2025 | Tashkent | Malika | Monitor | 2 | 4 800 0001 | |
| 10 |
Extending the source: Change Data Source
1
Click a cell in the PivotTable and choose PivotTable Analyze → Источник данных.
2
In the Change PivotTable Data Source dialog extend Table/Range to the new edge — Sheet1!$A$1:$F$9 — or reselect the range with the mouse on the sheet.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Date | Region | Manager | Product | Qty | Amount | |
| 2 | 15.01.2025 | Tashkent | Aziz | Laptop | 3 | 25 500 000 | |
| 3 | 20.02.2025 | Samarkand | Dilnoza | Monitor | 5 | 12 000 000 | |
| 4 | 10.04.2025 | Tashkent | Malika | Printer | 2 | 6 400 000 | |
| 5 | 05.05.2025 | Bukhara | Javohir | Laptop | 2 | 17 000 000 | |
| 6 | 18.07.2025 | Samarkand | Dilnoza | Laptop | 1 | 8 500 000 | |
| 7 | 22.08.2025 | Tashkent | Aziz | Monitor | 4 | 9 600 000 | |
| 8 | 12.11.2025 | Bukhara | Javohir | Printer | 3 | 9 600 000 | |
| 9 | 01.12.2025 | Tashkent | Malika | Monitor | 2 | 4 800 000 | |
| 10 |
3
Click OK — the PivotTable is rebuilt on the new range and the sale from row 9 appears in the report. The downside: next time you have to extend it by hand again.
The best fix: make the source a Table
Click inside the data and press Ctrl + T (or Вставка → Таблица), make sure My table has headers is ticked and click OK. Then on the Table Design tab give it a clear Table Name, for example Sales.
Now switch the PivotTable source to the table name: Change Data Source → Table/Range: Sales. If you create new PivotTables from inside the table, Excel fills in its name automatically.
The result: every new row typed under the table becomes part of it, and the PivotTable source grows by itself. All that’s left is to click Refresh.
| A | B | C | D | E | F | G | |
|---|---|---|---|---|---|---|---|
| 1 | Date | Region | Manager | Product | Qty | Amount | |
| 2 | 15.01.2025 | Tashkent | Aziz | Laptop | 3 | 25 500 000 | |
| 3 | 20.02.2025 | Samarkand | Dilnoza | Monitor | 5 | 12 000 000 | |
| 4 | 10.04.2025 | Tashkent | Malika | Printer | 2 | 6 400 000 | |
| 5 | 05.05.2025 | Bukhara | Javohir | Laptop | 2 | 17 000 000 | |
| 6 | 18.07.2025 | Samarkand | Dilnoza | Laptop | 1 | 8 500 000 | |
| 7 | 22.08.2025 | Tashkent | Aziz | Monitor | 4 | 9 600 000 | |
| 8 | 12.11.2025 | Bukhara | Javohir | Printer | 3 | 9 600 000 | |
| 9 |
Pro level: Power Query, the cache and file size
- Refresh All order. If a PivotTable is built on a Power Query result, Refresh All may refresh the PivotTable before the query finishes in the background — leaving the PivotTable one step behind. Fix: Данные → Queries & Connections → the query’s Properties → untick Enable background refresh.
- Timed refresh. Refresh every N minutes only applies to external connections (Power Query, databases), not to a PivotTable on a plain range.
- One cache, one refresh. PivotTables from the same source share a cache: refresh one and they all refresh.
- File size. Untick Save source data with file and the file shrinks, but after opening you must refresh before filtering or adding fields. Pair it with Refresh data when opening the file.
Try it in the simulator
Feel the difference between a formula and a PivotTable: change B2 to 30500000 and look at E4 — SUMIFS shows 46500000 instantly. In a PivotTable this number would change only after Refresh.
| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Region | Amount | Region | SUMIFS | ||||||||||||||||||||
| 2 | Tashkent | 25500000 | Bukhara | 26600000 | ||||||||||||||||||||
| 3 | Samarkand | 12000000 | Samarkand | 20500000 | ||||||||||||||||||||
| 4 | Tashkent | 6400000 | Tashkent | 41500000 | ||||||||||||||||||||
| 5 | Bukhara | 17000000 | Total | 88600000 | ||||||||||||||||||||
| 6 | Samarkand | 8500000 | ||||||||||||||||||||||
| 7 | Tashkent | 9600000 | ||||||||||||||||||||||
| 8 | Bukhara | 9600000 | ||||||||||||||||||||||
| 9 | ||||||||||||||||||||||||
| 10 | ||||||||||||||||||||||||
| 11 | ||||||||||||||||||||||||
| 12 |
Has ExcelLab been useful?
Support the project and help us release new lessons and exercises.