Excel tutorial
/

PivotTables

Intermediate

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.

Книга1 - Excel
—☐✕
B2fx30500000
ABCDEFG
1RegionAmountRow LabelsSum of AmountSUMIFS
2Tashkent30 500 0001Bukhara26 600 00026 600 000
3Samarkand12 000 000Samarkand20 500 00020 500 000
4Tashkent6 400 000Tashkent41 500 000246 500 000
5Bukhara17 000 000Grand Total88 600 00093 600 000
6Samarkand8 500 000
7Tashkent9 600 000
8Bukhara9 600 000
9
Готово
B2 was changed from 25,500,000 to 30,500,000: SUMIFS shows 46,500,000 at once, the PivotTable still shows the old 41,500,000

4 ways to refresh a PivotTable

1

Right-click inside the PivotTable → Refresh. Only this PivotTable (and those sharing its cache) is refreshed.

Книга1 - Excel
—☐✕
A2fxBukhara
ABCD
1Row LabelsSum of Amount
2BukharaКопироватьФормат ячеек...ОбновитьСортировкаФильтрПараметры полей значений...Параметры сводной таблицы...Показать список полей26 600 000
3Samarkand20 500 000
4Tashkent41 500 000
5Grand Total88 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.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Получить данныеОбновить все
Получить данные
СортировкаФильтр
Сортировка и фильтр
Текст по столбцамУдалить дубликатыПроверка данных
Работа с данными
B4fx46500000
ABCD
1Row LabelsSum of Amount
2Bukhara26 600 000
3Samarkand20 500 000
4Tashkent46 500 000
5Grand Total93 600 000
6
Готово
After refreshing: Tashkent — 46,500,000, Grand Total — 93,600,000

4

Refresh automatically when the file opens: right-click the PivotTable → PivotTable Options → Data tab → tick Refresh data when opening the file.

Книга1 - Excel
—☐✕
A2fxBukhara
ABCD
1Row LabelsSum of Amount
2Bukhara26 600 000
3Samarkand20 500 000
4Tashkent46 500 000
5Grand Total93 600 000
6
Готово
Книга1 - Excel
—☐✕
A9fx45992
ABCDEFG
1DateRegionManagerProductQtyAmount
215.01.2025TashkentAzizLaptop325 500 000
320.02.2025SamarkandDilnozaMonitor512 000 000
410.04.2025TashkentMalikaPrinter26 400 000
505.05.2025BukharaJavohirLaptop217 000 000
618.07.2025SamarkandDilnozaLaptop18 500 000
722.08.2025TashkentAzizMonitor49 600 000
812.11.2025BukharaJavohirPrinter39 600 000
901.12.2025TashkentMalikaMonitor24 800 0001
10
ГотовоСреднее: 1615331,3333Количество: 6Сумма: 4845994
Row 9 is a new sale. The PivotTable source is $A$1:$F$8, so it stays out of the report even after Refresh

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.

Книга1 - Excel
—☐✕
A1fxDate
ABCDEFG
1DateRegionManagerProductQtyAmount
215.01.2025TashkentAzizLaptop325 500 000
320.02.2025SamarkandDilnozaMonitor512 000 000
410.04.2025TashkentMalikaPrinter26 400 000
505.05.2025BukharaJavohirLaptop217 000 000
618.07.2025SamarkandDilnozaLaptop18 500 000
722.08.2025TashkentAzizMonitor49 600 000
812.11.2025BukharaJavohirPrinter39 600 000
901.12.2025TashkentMalikaMonitor24 800 000
10
ГотовоСреднее: 3906943,875Количество: 54Сумма: 93766653

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.

Книга1 - Excel
—☐✕
ФайлГлавнаяВставкаРазметка страницыФормулыДанныеРецензированиеВидСправка
Сводная таблицаРекомендуемые сводные таблицыТаблица
Таблицы
Рисунки
Иллюстрации
Рекомендуемые диаграммыСводная диаграмма
Диаграммы
B3fxSamarkand
ABCDEFG
1DateRegionManagerProductQtyAmount
215.01.2025TashkentAzizLaptop325 500 000
320.02.2025SamarkandDilnozaMonitor512 000 000
410.04.2025TashkentMalikaPrinter26 400 000
505.05.2025BukharaJavohirLaptop217 000 000
618.07.2025SamarkandDilnozaLaptop18 500 000
722.08.2025TashkentAzizMonitor49 600 000
812.11.2025BukharaJavohirPrinter39 600 000
9
ГотовоСреднее: 4234317,0952Количество: 48Сумма: 88920659
Turn the data into a Table once — every future row flows into the PivotTable on its own

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.

Книга1 - Excel
—☐✕
Буфер обмена
Шрифт
Выравнивание
Число
Стили
Ячейки
Редактирование
✕✓fx
ABCDEFGHIJKLMNOPQRSTUVWX
1RegionAmountRegionSUMIFS
2Tashkent25500000Bukhara26600000
3Samarkand12000000Samarkand20500000
4Tashkent6400000Tashkent41500000
5Bukhara17000000Total88600000
6Samarkand8500000
7Tashkent9600000
8Bukhara9600000
9
10
11
12
Лист1
Готово

Has ExcelLab been useful?

Support the project and help us release new lessons and exercises.

Support us
Previous

66 / 154