Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Update a Pivot Table with New Data

· 7 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

To update a pivot table with new data, first make sure the new rows or columns sit inside the range the pivot table already uses, then right-click anywhere in the pivot table and choose Refresh (or press Alt+F5 on Windows). If the new data extends beyond the original range, you must change the source: click inside the pivot table, open the PivotTable Analyze tab (called Analyze on Mac), choose Change Data Source, and reselect the full range or table. That is the whole fix in most cases. The rest of this guide covers the reliable way to do it, why the refresh sometimes appears to do nothing, and how to set things up so future updates are one click.

What You'll Need

  • Excel (Microsoft 365, Excel 2019 or later) or Google Sheets, with an existing pivot table and its source data in the same workbook or file.
  • Your new data already entered in the source sheet, ideally in the same column layout as the existing rows.
  • For Excel: the source range converted to an Excel Table (Ctrl+T) if you want the pivot to grow automatically. This is optional but strongly recommended.
  • Edit access to the workbook or spreadsheet. If the file is shared and read-only, refresh will be greyed out.

Step-by-Step

  1. Check where your new data sits. Open the sheet that feeds the pivot table. If you appended rows directly below the last existing row, or added columns to the right of the last existing column, note whether they fall inside the range the pivot already covers. A quick way to see the current range: click any cell in the pivot table and look at the Table/Range box on the PivotTable Analyze tab.
  2. Fix formatting mismatches before refreshing. New rows must match the existing columns: same headers, dates entered as real dates rather than text, numbers stored as numbers (no stray spaces or apostrophes). A row with a text date will usually be lumped into a blank or "(blank)" category instead of the month you expect.
  3. Refresh the pivot table. In Excel, right-click a cell inside the pivot table and choose Refresh, or use PivotTable Analyze > Refresh. The keyboard shortcut Alt+F5 refreshes the active pivot table; Ctrl+Alt+F5 refreshes every pivot table in the workbook. In Google Sheets, click a cell in the pivot table and use the Refresh button that appears, or reopen the pivot editor and confirm the range.
  4. If new rows did not appear, expand the source range. Click inside the pivot table, open PivotTable Analyze > Change Data Source, then either type the new range (for example A1:F500 instead of A1:F400) or drag over the full block including the new rows. Click OK. Excel refreshes automatically after this.
  5. If new columns did not appear, refresh the field list. After changing the source, the new column shows up in the PivotTable Fields pane. Drag it into Rows, Columns, Values or Filters as needed. Existing fields keep their layout.
  6. For a permanent fix in Excel, convert the source to a Table. Select the source data and press Ctrl+T, confirm the header row, then point the pivot table at that table via Change Data Source. From then on, any row typed directly beneath the table is included automatically, and a normal Refresh picks it up without touching the range.
  7. In Google Sheets, edit the range in the pivot editor. Click a cell in the pivot table, open the pivot table editor panel on the right, and update the Data range field to include the new rows or columns. Sheets does not have a one-click refresh button for a fixed range, so extending the range is the update.
  8. Verify the totals. Compare a couple of figures against the source data with a quick SUMIFS or a filter, so you know the refresh actually pulled the new rows rather than just redrawing the old ones.

Menu labels vary slightly between Excel versions, between Windows and Mac, and between the desktop app and Excel for the web. On Mac, the tab is labelled Analyze and the refresh command lives under Data > Refresh All as well. In Excel for the web, the refresh option appears on the PivotTable tab that shows up when you click inside the table.

Common Mistakes

  • Typing new rows below a blank row. Excel treats the blank row as the end of the range. The new data is invisible to the pivot table until you remove the gap or change the source.
  • Adding a column to the right and expecting it to appear. A fixed range does not grow sideways. You must change the data source before the new field appears in the field list.
  • Refreshing a pivot built on another workbook that is closed. The refresh can silently fail or use stale cached data. Open the source workbook first.
  • Mixing data types. Numbers pasted as text, dates in different formats, or trailing spaces in category names create duplicate-looking groups ("North" and "North ") that split your totals.
  • Overwriting the source with pasted values that break the header row. If the header changes, the pivot may treat the column as a new field and drop it from the layout.
  • Assuming a refresh recalculates calculated fields incorrectly. Calculated fields do recalculate on refresh, but if the formula references a field you renamed in the source, it will error until you fix the field name.

Tips

  • Use an Excel Table as the source from the start. It removes the entire class of "my new rows are ignored" problems.
  • Press Ctrl+Alt+F5 after a big data import so every pivot table and data connection in the workbook updates at once.
  • Keep the source on its own sheet with no notes, titles or merged cells above the header row. Pivot tables handle a clean block far more predictably.
  • If you share the workbook, refresh before saving so recipients open a current view rather than yesterday's numbers.
  • Name the source range (Formulas > Define Name) if you change it often; then you only edit the name's definition instead of reselecting cells.
  • In Google Sheets, keep the pivot's data range as a named range for the same reason.

Troubleshooting

The refresh button is greyed out. The workbook is likely read-only, protected, or the pivot is inside a protected sheet. Ask the owner for edit access or unprotect the sheet (Review > Unprotect Sheet) if you are allowed to.

New rows still do not show after Change Data Source. Check for a blank row inside the range, hidden rows that were excluded, or filters applied to the source that hide the new records. Clear filters on the source sheet and refresh again.

Totals look wrong or doubled. You may have overlapping ranges, or the same source row counted twice because the range was extended over a total row at the bottom. Exclude any totals row from the source range.

"Data source reference is not valid." The sheet or workbook the pivot points to was renamed, moved or deleted. Use Change Data Source to point at the current location.

Google Sheets pivot does not update. Open the pivot editor and re-enter the data range, then click outside the panel. If the source is on another sheet, make sure the range includes the sheet name.

Everything looks stale after an import. Close and reopen the workbook, then refresh. If it is still stale, check Data > Connections and refresh the connection itself.

Frequently Asked Questions

Does a pivot table update automatically when I add data?

Not by default. Excel caches the last refresh, so you must refresh manually or set the pivot to refresh when the file opens (PivotTable Options > Data). A Table-based source still needs a refresh; it just means the range grows for you.

Why do my new rows not appear even after I click Refresh?

Almost always because the new rows sit outside the pivot's source range, or a blank row separates them from the existing data. Change the data source to include them, or convert the source to a Table.

Can I add a new column to an existing pivot table?

Yes, once the source range includes that column. Refresh, then drag the new field from the PivotTable Fields pane into the area you want. Existing layout is preserved.

Will refreshing delete my formatting or calculated fields?

No. Refresh updates the data, not the layout. Calculated fields and number formats stay. Column widths can adjust slightly if new labels are longer.

How do I update a pivot table in Google Sheets?

Click a cell in the pivot table, open the pivot table editor, and change the Data range to include the new rows or columns. Sheets has no separate refresh command for a fixed range.

Can I update a pivot table from a CSV that changes daily?

Yes, if you import or connect the CSV rather than pasting it. Point the pivot at the imported table or connection, then refresh after each import. Pasting over the old data works too, as long as the range and headers stay the same.