Fix the Excel Table first: confirm the range includes every row and column, then refresh the PivotTable. If the source or field type changed, rebuild the pivot from the table or correct the column format. Skip that check, and the PivotTable can miss new rows, drop fields, or read numbers as text. This guide covers the quickest checks for the table range, pivot cache, and field data types, then shows the smallest fix for each.

Diagnose table structure, header, and cache issues

An Excel PivotTable and field list are open on screen
Check that the table bounds include every row and column, with unique headers and no blanks inside the source.

The source usually breaks first. Check whether the Excel Table lost a header, picked up a blank row or blank column, or changed shape after a rename or insert. If the table is still valid, the next likely issue is a stale PivotTable cache that has not picked up the new table structure.

  • Verify the table bounds. Click anywhere in the table, then use Table Design > Resize Table. Make sure every source row and column is inside the table, with no blank rows inside it and no completely blank columns.
  • Confirm the headers. Each source list needs unique headings in the first row. If one header is blank, duplicated, or moved, the PivotTable may stop reading the field correctly.
  • Refresh the PivotTable. Right-click the PivotTable and choose Refresh. If the workbook opens with old data, use Data > Queries & Connections > Properties or the connection settings for the source so the file refreshes on open, then keep a manual refresh as backup.

Say your table grew from A1:F200 to A1:G240 after a new “Region” column was inserted. If the PivotTable still uses the old layout, it may not show the new field until the cache is refreshed or the source is reset to the full table.

What you'll need

  • An Excel Table created from Insert > Table
  • A PivotTable linked to that table source
  • Access to Table Design and PivotTable Analyze tabs
  • The ability to refresh the PivotTable manually
  • A clear look at the source column headers and data types
  • If needed, a spare copy of the workbook for a rebuild test

Why does Excel show count instead of sum?

Excel shows Count when the Values field is not purely numeric. A blank cell in the values column can make Excel treat the field as text, and text cells can turn a Sum into Count. Numeric-looking entries stored as text will behave the same way, even when the cells display numbers.

  1. Check the source cells. Open the table column used in Values and look for blanks, text entries, or numbers imported as text. A single text value in that field can change how the PivotTable summarizes the whole column.
  2. Fix the column format. Use Home > Number to format the source cells as Number or General, then correct the entries so they are real numbers. If the column came from an import, re-enter obvious text-number values such as 0012 or amounts with stray apostrophes.
  3. Reset the Values field. In the PivotTable, remove the field from Values, then drag it back in. If needed, right-click the field and choose Value Field Settings, then select Sum.

Picture a column of sales amounts where one row contains the text value “pending” instead of 125. The PivotTable may switch from Sum to Count for that field because the column is no longer fully numeric.

Why is the field name not valid?

This error usually means the table header row is broken. A missing or blank header, a hidden column header, or a deleted source column can all trigger it. A corrupted workbook can produce the same symptom, especially after a structure change that left the PivotTable pointing at a damaged source field.

  1. Inspect the header row. Go to the Excel Table and make sure every column has a visible name in the first row. Source lists should have unique headings in the first row, with no blanks or duplicates.
  2. Unhide source columns. If a column was hidden before the PivotTable was built, unhide it with Home > Format > Hide & Unhide > Unhide Columns. Then refresh the PivotTable so Excel can read the field name again.
  3. Rebuild the source if needed. If a column was deleted or renamed in a way the PivotCache cannot follow, use PivotTable Analyze > Change Data Source and point it back to the full table. If the workbook still errors, save a clean copy and recreate the PivotTable from the table.

A common first-timer mistake is renaming “Sales Rep” to “Rep Name” in the table and then deleting the old column later. The PivotTable may keep looking for the old field until the source is changed or the cache is rebuilt.

Fix the table, source, and refresh

An Excel worksheet shows a PivotTable and the Change Data Source dialog
Select the table name rather than a fixed cell range to keep updates tied.

Use this order when the table itself looks correct but the PivotTable still ignores updates. First verify the table structure. Then check the source connection and refresh behavior. Only after that should you rebuild the PivotTable or split the cache, because cache issues are less common than source problems.

  1. Repair the table structure. Open the Excel Table and remove any blank row inside it, any completely blank column, or any header that is missing or duplicated. If the table style is hard to read, change it from Table Design so the headers stay visible.
  2. Reset the source range. Select the PivotTable, then use PivotTable Analyze > Change Data Source and select the table name rather than a fixed cell range. That keeps the PivotTable tied to the auto-expanding table.
  3. Refresh on open. In the workbook’s refresh settings, enable automatic update when the file opens. Keep Data > Refresh All as the manual fallback if the workbook opens before the latest table changes are loaded.
  4. Rebuild the cache if needed. If two PivotTables share the same cache and grouping or field changes bleed across them, create a separate PivotTable from the table source. Shared cache behavior can carry grouping side effects from one report to another.

For example, suppose the table expands from about 500 rows to about 650 rows, but the PivotTable still shows about 500. That usually means the table grew correctly while the PivotCache stayed on the old range or did not refresh on open.

Pivot table troubleshooting matrix

A laptop displays spreadsheet charts beside a small potted plant
Match the corrupted workbook symptoms to the exact fix before rebuilding the table source.

Use this matrix to match the symptom to the smallest fix. Start with the source structure, then move to refresh behavior, then rebuild only when the cache is the problem. The same visible failure can come from different causes, so the exact fix matters.

Symptom Likely cause Exact fix
New rows in the table do not appear The PivotTable cache still points to the old range Select the pivot, then use PivotTable Analyze > Change Data Source and choose the table name. Refresh with Data > Refresh All.
A renamed column vanished from the field list The header changed and the cache has not caught up Restore a unique header in the first row, then refresh. If the field still fails, rebuild the PivotTable from the table source.
PivotTable field name is not valid Missing or blank header, hidden column, deleted column, or corrupted workbook symptoms Check every table header, unhide columns, then reselect the table in Change Data Source. Save a clean copy if corruption is suspected.
Sum became Count Blank cell or text cell in the values column Fix the source column so every value is numeric, then remove and re-add the field in Values.
Inserted column is missing from the pivot The PivotTable still uses the old source snapshot Refresh the pivot and confirm the source is the Excel Table name, not a static cell range.
Grouping changed another PivotTable Both PivotTables share the same cache Create a separate PivotTable cache by rebuilding one report from the table source.

Common mistakes

The fastest errors come from treating every break as a PivotTable problem. In many cases, the table structure is the real fault, and the pivot only reflects it. A table that expands correctly but keeps a bad header or mixed data type will still produce wrong results after refresh.

  • Assuming a refresh will fix a blank header.
  • Leaving a blank row inside the Excel Table.
  • Using a fixed cell range instead of the table name as the source.
  • Keeping text values in a field that should sum.
  • Forgetting that two PivotTables can share one cache.
  • Ignoring hidden columns when the field name error appears.

Do not add blank rows for spacing. Excel Tables should have no blank rows within them and no completely blank columns, because those breaks can confuse the auto-expanding source and the PivotTable field list.

Keep reading

Frequently asked questions

How do I refresh a pivot table from an Excel table

Select the PivotTable and use PivotTable Analyze > Refresh, or right-click inside the pivot and choose Refresh. If the workbook should update when opened, check the refresh settings for the connection and keep Data > Refresh All as the fallback.

Why is my pivot table not showing new rows from the Excel table

First confirm the new rows are inside the Excel Table, not below it. Then use PivotTable Analyze > Change Data Source and select the table name again. If the pivot still stops early, refresh the cache and check whether the file opens with automatic refresh enabled.

Why does Excel treat my table column as text in a pivot table

A blank cell or text cell in the values column can cause that behavior. Fix the source column so each entry is numeric, then remove the field from Values and add it back. If the numbers were imported as text, convert them before refreshing.

How do I fix a pivot table that shows count instead of sum?

Open Value Field Settings for that field and choose Sum. If Sum is unavailable or flips back to Count, inspect the source column for blanks or text entries. A clean numeric column is required for a stable sum result.

Do I need blank rows or headers for an Excel table to work with a pivot table

You need a header row, and it must contain unique headings in the first row. You do not need blank rows; in fact, Excel Tables should have no blank rows within them and no completely blank columns. Blank spacing can break the source structure.

How do I change the data source for a pivot table when the table grows?

Select the PivotTable, then use PivotTable Analyze > Change Data Source. Choose the Excel Table name instead of a fixed range so the pivot follows new rows and columns as the table expands. Refresh immediately after changing the source.