ExcelReady
CourseMock testsFunction guidesBlog
Start freeStart learning for free
ExcelReady

Be Excel-ready before day one. Hands-on practice in your browser, with instant feedback.

Learn

  • Course
  • Mock tests
  • Function guides
  • Blog

Test prep

  • Excel level test
  • Excel test practice
  • Free screening quiz
  • Certificate

Company

  • Editorial policy
  • Contact
  • Terms
  • Privacy

© 2026 ExcelReady. All rights reserved.

  1. Blog
  2. Data tools
  3. How to Refresh a Pivot Table (and Why It Doesn't Update)

How to Refresh a Pivot Table (and Why It Doesn't Update)

By ExcelReady Team·Updated November 1, 2026·5 min read

The short answer

To refresh a pivot table, right-click anywhere in it and choose Refresh, or press Alt+F5 on Windows. Use Data > Refresh All (Ctrl+Alt+F5) to update every pivot in the file. If new rows still don't appear, they're outside the source range: use PivotTable Analyze > Change Data Source, or build the pivot on an Excel table so the range grows.

Key takeaways

  • Pivot tables read a saved copy of the data, called the cache, so they never update on their own.
  • Right-click > Refresh updates one pivot; Data > Refresh All updates every pivot and connection.
  • Refresh only rereads the source range; rows typed below it need Change Data Source or a table.
  • PivotTable Options can refresh on open, keep column widths and clear old items from filters.
  • Formulas like SUMIFS update instantly, so use them when numbers must always be current.
On this page+
  1. Why doesn't a pivot table update by itself?
  2. How to refresh a pivot table
  3. Why new rows don't appear after a refresh
  4. How to refresh a pivot table when the file opens
  5. Stop a refresh from changing your layout
  6. Common refresh errors and how to fix them
  7. When a formula is better than refreshing
  8. Practise it

To refresh a pivot table, right-click anywhere inside it and choose Refresh. Pivot tables don't update by themselves when the data changes, so a quick refresh is how you pull in edited numbers. If new rows still don't show up, the problem is the source range, not the refresh. This guide covers every way to refresh, how to include new rows, and the settings that stop refreshes from messing up your layout.

Why doesn't a pivot table update by itself?#

A pivot table doesn't read your cells directly. When you build it, Excel saves a copy of the source data called the pivot cache, and the pivot calculates from that copy. Change a number in the source, and the cache still holds the old one until you refresh.

That's why a pivot can show a different total from a SUM of the same column. It is not broken; it is out of date. Formulas such as SUMIF recalculate at once, which is the main difference between the two tools.

The examples use this sales list in A1:C9. The pivot was built when the data ended at row 8, so it shows West at 3,200:

ABC
1RegionRepSales
2EastAna2100
3WestBen1800
4EastCara950
5SouthDev2600
6WestEli1400
7NorthFemi1750
8SouthGus1200
9WestHana2050

How to refresh a pivot table#

Pick whichever way is quickest for you. They all reread the source range:

MethodWindowsMac
Right-click menuRight-click the pivot > RefreshControl-click or right-click > Refresh
RibbonPivotTable Analyze > RefreshPivotTable Analyze > Refresh
Keyboard, this pivotAlt+F5Use the ribbon or right-click
Every pivot in the fileData > Refresh All or Ctrl+Alt+F5Data > Refresh All

Refresh All also updates queries and data connections, so it can take longer in big files. Pivots built from the same source share one cache. Refreshing one of them refreshes them all.

Why new rows don't appear after a refresh#

Refresh rereads the same range the pivot was built on. Hana's row is in row 9, but the pivot's range is A1:C8, so refreshing changes nothing. You need to make the range bigger.

Option 1: Change Data Source#

  1. Click inside the pivot.
  2. Go to PivotTable Analyze > Change Data Source.
  3. Change the range to $A$1:$C$9 (or select the new range) and click OK.

West now shows 5,250: 1,800 + 1,400 + 2,050. You'll have to do this again the next time rows are added.

Option 2: Build the pivot on an Excel table#

This is the lasting fix. Click inside the data and press Ctrl+T (Mac: ⌘T) to make it a table. Then use the table's name, such as Table1, as the pivot's source in Change Data Source. A table grows when you type in the row just below it, so the pivot's source grows too. You still need to refresh, but you never need to fix the range again. The comparison of an Excel table vs a pivot table explains how the two work together.

How to refresh a pivot table when the file opens#

To make sure a pivot is current when someone opens the file:

  1. Right-click the pivot and choose PivotTable Options.
  2. Go to the Data tab.
  3. Tick Refresh data when opening the file and click OK.

Excel has no setting to refresh a normal pivot every time a cell changes. Some people use a short macro for that, but macros need a macro-enabled file and aren't allowed everywhere. If the numbers must always be live, a formula summary is simpler, as shown below.

Stop a refresh from changing your layout#

A few PivotTable Options fix the most annoying side effects of refreshing. Right-click the pivot, choose PivotTable Options, and:

  • Column widths jump. On Layout & Format, untick Autofit column widths on update.
  • Cell formatting disappears. On Layout & Format, tick Preserve cell formatting on update. For number formats, set them in Value Field Settings > Number Format rather than on the cells.
  • Deleted items stay in the filter list. On the Data tab, set Number of items to retain per field to None, then refresh.

Common refresh errors and how to fix them#

Most refresh errors point to a problem with the source data:

  • "The PivotTable field name is not valid." A header in the source is blank, or the source range was deleted. Fill in every header and check the range. The full fix is in the field name is not valid error.
  • "A PivotTable report cannot overlap another PivotTable report." After the refresh, the pivot would grow into another pivot. Move one of them so there's space between them.
  • The source shows #REF!. The sheet or range the pivot points to was deleted. Point Change Data Source at the right range.
  • Counts or totals look wrong. You may be counting a column with blanks. See how counting works in a pivot table.

When a formula is better than refreshing#

If a report must always show current numbers, use formulas instead of a pivot. In G2:

Excel formula
=SUMIF(A2:A9,"West",C2:C9)

This returns 5,250 the moment Hana's row is typed, with no refresh and no range to fix. SUMIF works in every version of Excel. Pivots are faster to build and rearrange; formulas are always live. If you're new to pivots, start with the beginner's guide to pivot tables.

Practise it#

Interviewers often add a row to the data and ask why the pivot didn't change. Knowing about refresh and the source range is the answer. Practise pivot tables in a live spreadsheet: build one, change how it summarizes, and check your answers instantly. Then review the pivot table interview questions employers ask most.

Try it yourself

This is a live spreadsheet. Type the formula in the green cell and press Enter.

Hana's sale in row 9 was added after the pivot was built, so the pivot still shows West at 3,200. A formula doesn't need a refresh. In G2, use SUMIF to total the sales in C2:C9 where the region in A2:A9 is West.

fx
ABCDEFGH
1
Region
Rep
Sales
2
East
Ana
2100
West sales
3
West
Ben
1800
4
East
Cara
950
5
South
Dev
2600
6
West
Eli
1400
7
North
Femi
1750
8
South
Gus
1200
9
West
Hana
2050
10
11
12

Tip: SUMIF takes the range to check, then what to match in quotes, then the range to add.

Practise this in a lesson

LessonPivot tables 1Build your first PivotTable on a new sheet: total sales by region, split them by product, then switch the summary from Sum to Count and Average and read the answer off the pivot.

Frequently asked questions

How do I refresh a pivot table in Excel?

+

Right-click any cell in the pivot table and choose Refresh. On the ribbon, use PivotTable Analyze > Refresh, or press Alt+F5 on Windows.

Why is my pivot table not updating with new data?

+

Refresh only rereads the original source range. If you typed new rows below it, change the range with PivotTable Analyze > Change Data Source, or convert the data to an Excel table so the range grows by itself.

How do I refresh all pivot tables at once?

+

Go to Data > Refresh All, or press Ctrl+Alt+F5 on Windows. It updates every pivot table and data connection in the workbook.

Can a pivot table refresh automatically?

+

It can refresh each time the file opens: open PivotTable Options, go to the Data tab and tick Refresh data when opening the file. Excel has no built-in setting to refresh a normal pivot every time a cell changes.

How do I stop column widths changing when I refresh a pivot table?

+

Right-click the pivot, choose PivotTable Options, and on the Layout & Format tab untick Autofit column widths on update.

Sources

  • Create a PivotTable to analyze worksheet data - Microsoft Support
  • Overview of Excel tables - Microsoft Support
  • SUMIF function - Microsoft Support

Written and checked by the ExcelReady Team. First published November 1, 2026. The practice exercise runs in the same formula engine as our lessons. Found a mistake? Read our editorial policy or email hello@excelready.app.

On this page

  1. Why doesn't a pivot table update by itself?
  2. How to refresh a pivot table
  3. Why new rows don't appear after a refresh
  4. How to refresh a pivot table when the file opens
  5. Stop a refresh from changing your layout
  6. Common refresh errors and how to fix them
  7. When a formula is better than refreshing
  8. Practise it

Keep reading

Data tools· 5 min read

Pivot Tables in Excel: A Beginner's Guide

A pivot table summarizes a long table in a few clicks, without formulas. Click a cell in your data, choose Insert > PivotTable, and click OK to put it on a new sheet. Then drag fields into Rows, Columns and Values: Region in Rows and Sales in Values gives total sales for each region.

Data tools· 5 min read

Count in a Pivot Table: Count vs Distinct Count

To count in a pivot table, drag a field into Values and set it to Count: right-click a number, choose Summarize Values By, then Count. Count adds up rows, so a customer with three orders counts three times. To count each customer once, tick Add this data to the Data Model when you create the pivot, then use Distinct Count.

Errors & fixes· 5 min read

"PivotTable Field Name Is Not Valid": How to Fix It

Excel shows "The PivotTable field name is not valid" when a column in the source data has no header. Every column in the range needs a label in the first row. Type a header into any blank header cell, unmerge merged headers, and make sure the source range has no empty columns. Then create or refresh the pivot.

Don't just read about Excel. Do it.

Practise real formulas in a live spreadsheet with instant feedback, right in your browser. Nothing to download.

Start learning for free