Pivot tables in Excel usually misbehave for one of a handful of reasons: the source data changed and the table was not refreshed, the source range is too small, the data itself is inconsistent, or Excel cannot cache the data properly. This guide walks you through diagnosing and fixing the most common pivot table problems, from blank values and missing fields to refresh errors and wrong totals. It covers Excel for Microsoft 365 and Excel 2016 and later on Windows; most steps also apply on Mac, though menu labels can differ slightly between versions.

What You'll Need

  • A workbook with at least one pivot table (or the source data to create one)
  • Excel 2016 or later, or Microsoft 365 (desktop version recommended; the web version has fewer pivot options)
  • Access to the source data, ideally on the same workbook or a file you can open

Step-by-Step

  1. Refresh the pivot table first. Click anywhere inside the pivot table, then go to the PivotTable Analyze tab (or Analyze) and click Refresh. To refresh every pivot in the workbook at once, click Refresh > Refresh All. Many "broken" pivot tables are simply stale.
  2. Check the source data range. On the PivotTable Analyze tab, click Change Data Source. If rows were added to your data after the pivot was created, the range will not include them. Either widen the range manually or, better, convert the source to an official Excel Table (select the data and press Ctrl+T) so the pivot automatically picks up new rows.
  3. Confirm the source file exists. If the pivot was built from another workbook, Excel will show a refresh error when that file is closed or moved. Either open the source file at its original path, or use Change Data Source to point the pivot to the file's new location.
  4. Fix blank values in the source. Rows with empty cells in a Row or Column field get lumped into a "(blank)" item, and blank cells in a numeric field are silently excluded from sums. Go back to the source data, fill in or delete the incomplete rows, then refresh.
  5. Fix numbers stored as text. If a column of values shows a count of 2 instead of a sum, Excel is treating the numbers as text. In the source data, select the column; if a small warning icon appears, click it and choose Convert to Number. Alternatively, use Text to Columns (Data tab) on that column and click Finish. Refresh the pivot afterward.
  6. Force a value field to sum instead of count. Click the drop-down on the field in the Values area of the Field List, choose Value Field Settings, and select Sum instead of Count. If Sum is greyed out, the source column still contains text or blanks—return to step 5.
  7. Clean up inconsistent labels. If the same category appears twice ("Sales" and "sales ", or "West" and "West "), use Excel's Find and Replace or TRIM on the source column to standardize the entries, then refresh. Trailing spaces are the classic hidden cause of "duplicated" items.
  8. Re-enable the Field List if it disappeared. Click inside the pivot table and check that the Field List pane is shown; if not, on the PivotTable Analyze tab click Field List to toggle it back on. Also check the pivot is not grouped with the sheet protection on: remove protection via Review > Unprotect Sheet if needed.
  9. Remove stale items from drop-downs. If deleted source entries still appear in a filter, right-click anywhere in the pivot, choose PivotTable Options, go to the Data tab, and set Number of items to retain per field to None. Refresh, then set it back to Automatic.
  10. Rebuild the pivot cache if totals are still wrong. A corrupted cache can produce incorrect numbers even after refreshing. The reliable fix is to delete the pivot table (this does not touch your source data) and insert a fresh one via Insert > PivotTable from the same source range.
  11. Recreate the pivot table itself as a last resort. If the pivot refuses to refresh, shows errors like "PivotTable report is invalid," or crashes Excel, copy your source data to a new workbook and build the pivot from scratch there. This rules out workbook corruption.

Common Mistakes

  • Forgetting to refresh. Pivot tables never update automatically when the source changes (unless the source is a Data Model refreshed on open). Make Refresh All a habit before reading or sharing numbers.
  • Using a fixed range instead of a Table. Hard-coded ranges like A1:F200 silently exclude row 201 and beyond. Convert the source to an Excel Table so the range grows with the data.
  • Leaving blank headers in the source. Every source column needs a heading; Excel refuses to create a pivot or drops the column if a header cell is empty.
  • Typing over pivot cells. You cannot edit values inside a pivot table area directly—doing so throws an error. Edit the source data instead, then refresh.
  • Mixing data types in one column. A column with both numbers and text will default to Count instead of Sum. Keep numeric columns purely numeric.
  • Building pivots on merged cells. Merged cells in the source cause misaligned fields and blank rows. Unmerge and fill values down before pivoting.

Tips

  • Right-click a value and choose Value Field Settings to switch between Sum, Average, Count, Max and Min without rebuilding anything.
  • Double-click any number in a pivot table to drill down—Excel creates a new sheet with the underlying source rows, which is the fastest way to verify a suspicious total.
  • Use PivotTable Options > Data > Save source data with file off to shrink very large workbooks, at the cost of needing the source available to refresh.
  • If "(blank)" shows up in a field, do not rename it—fix the source rows instead. Renaming hides the data problem rather than solving it.
  • Set the pivot to refresh when the file opens via PivotTable Options > Data > Refresh data when opening the file.
  • Keep a raw-data sheet that you never edit for presentation, and do all cleaning on a copy. It makes troubleshooting far easier.

Troubleshooting

If the steps above did not fix it, work through these in order:

  • "We couldn't refresh the data source" or a connection error: the external file or database is unreachable. Check the file path, network drive or connection credentials, then try Change Data Source to re-point the pivot.
  • Excel is slow or freezes when refreshing: large sources with many retained items bloat the cache. Set Number of items to retain per field to None, avoid grouping dates unnecessarily, and consider building the pivot from a Data Model (tick Add this data to the Data Model when inserting) for very large datasets.
  • Pivot created in the web version behaves oddly in desktop: Excel for the web supports a reduced feature set. Rebuild the pivot in the desktop app for full functionality.
  • Errors persist in one file only: suspected workbook corruption. Save a copy, then try File > Open > Browse, select the file, click the arrow next to Open and choose Open and Repair. If the pivot still misbehaves, move the source data to a fresh workbook and rebuild.
  • Everything fails across all files: repair the Office installation itself—open Windows Settings > Apps, find Microsoft 365 or Office, and choose Modify > Quick Repair (this does not delete your files).

Frequently Asked Questions

Why does my pivot table show old data after I changed the source?

Pivot tables read from a cached copy of the source, not live cells. Click inside the pivot and press Refresh (or Refresh All for the whole workbook) to pull in the changes.

Why is my pivot counting instead of summing?

Excel defaults to Count when the source column contains any blank or text values. Clean the column so every cell is a number, refresh, then set the field to Sum via Value Field Settings if needed.

New rows in my data don't appear in the pivot. Why?

The pivot's source range was fixed when it was created and doesn't grow automatically. Use Change Data Source to widen it, or convert the source to an Excel Table with Ctrl+T so it expands on its own.

Can I edit values directly inside a pivot table?

No. Pivot table cells are read-only summaries. Change the underlying source data and refresh; the pivot will update to match.

How do I get rid of old items in a pivot filter drop-down?

In PivotTable Options > Data, set Number of items to retain per field to None and refresh. Deleted source entries will disappear from the filter list.

Will rebuilding a pivot table delete my source data?

No. Deleting a pivot table only removes the summary sheet and its cache. The source data stays exactly where it is.