Sub topic 16
Troubleshooting Common Pivot Table Problems
Assume you can select ranges, enter basic formulas, and recognize fields such as dates, regions, and revenue. This chapter focuses on diagnosing a pivot table that looks incomplete or produces an unexpected result.
A reliable troubleshooting path
A pivot table summarizes the rows in its source range. When the result is wrong, check the source data, the pivot configuration, and the formulas that read the result.
Missing rows or new records
A common problem occurs when the pivot table uses a fixed range such as Sales!A1:E100, but new records are added below row 100. The pivot table cannot include rows outside that range.
Open the pivot table editor and inspect the source range. Change it to include the new rows, or use open-ended columns when appropriate, such as Sales!A:E. Keep the header row in the range.
If a column contains completely blank rows inside the data, the pivot table may still work, but blank records can make filtering and counting harder. Remove unused rows or fill the required fields.
Wrong totals or counts
The Summarize by choice controls the calculation. SUM adds numeric values. COUNT counts numeric cells. COUNTA counts non-empty cells, including text. AVERAGE calculates the mean of numeric values.
| Symptom | Likely cause | Check |
|---|---|---|
| Revenue is counted instead of added | Wrong summarize option | Set Values to `SUM` |
| Count is higher than expected | Text or placeholder values are non-empty | Inspect the source column |
| A number is ignored | Number is stored as text | Convert the source value to a number |
| Total excludes a category | Filter or source range is limited | Review Filters and source range |
Numbers imported from another system may look numeric but be stored as text. Test a source cell with =ISNUMBER(E2). If it returns FALSE, clean the value before summarizing it. For example, =VALUE(E2) converts suitable text into a number.
Dates can have a similar problem. A date-looking value stored as text cannot always be grouped by month, quarter, or year. Test it with =ISNUMBER(A2) and convert it if necessary.
Filters, blanks, and stale-looking results
Check the Filters section in the pivot table editor. A filter may exclude a region, date, or blank value without making the exclusion obvious in the visible table. Also check row and column filters, not only the Filters section.
A blank label can mean that the source field is empty. It can also mean that a formula returns an empty string. Locate those source rows and decide whether they should be completed, removed, or intentionally included.
Pivot tables normally recalculate when their source data changes. If new rows do not appear, the source range is usually the problem. If values appear unchanged, check whether the source formula itself has recalculated and whether a filter still excludes the row.
Cross-checking a result
Use a formula to test an important pivot value independently. For example, if column B contains Region and column E contains Revenue:
=SUMIFS(Sales!E:E, Sales!B:B, "West")Compare this result with the West row in the pivot table. If they differ, inspect the source range, filters, spelling, and data types. GETPIVOTDATA is useful for referencing the pivot result itself:
=GETPIVOTDATA("Revenue", Pivot!A1, "Region", "West")The reference Pivot!A1 can be any cell inside the pivot table. The formula identifies the pivot item by its field and value rather than relying on a fixed result row.
Exercise
A pivot table shows 12 West records, but a direct SUMIFS check includes 15 records. What should you inspect first?
Show answer
Compare the pivot table's source range with the formula ranges, then check filters and whether the three missing records have valid Region values.