Fix an Excel PivotTable That Omits the Last Data Row
Question details
The user needs to include the final source data row in an Excel PivotTable.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- A PivotTable is built from a worksheet range or table containing the rows to be summarized.
- Observed behavior
- The PivotTable omits the final data row, potentially because the source range does not include it.
Locate the missing row and identify the full source data area, including its column headers. Check whether the PivotTable has filters that could hide the row's values.
Expand the PivotTable source range and refresh
Use this method when the PivotTable source stops before the final data row.
Click anywhere in the PivotTable, then select PivotTable Analyze > Change Data Source.
In the Table/Range box, select a continuous rectangular area that includes the headers and every required row and column, including the last row. Click OK.
Right-click the PivotTable and select Refresh. Check the report for the missing row's values.
If the values are still missing, open the PivotTable field filter drop-downs and clear any filters that exclude them.

Use an Excel Table as the PivotTable source
Use a table to make it easier for the source to expand as you add rows.
Analyze spreadsheet data with WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with spreadsheets. Its Microsoft Office format compatibility makes moving existing files easier, though it does not repair an Excel PivotTable.

Frequently Asked Questions
Why is the last row missing from my PivotTable?
The source range may end before that row, or a PivotTable filter may hide its values. Check PivotTable Analyze > Change Data Source and review the field filter drop-downs.
Does a PivotTable update automatically when I add rows?
Not necessarily. Make sure the new rows are included in the source range or Excel Table, then right-click the PivotTable and select Refresh.
How can I check whether a new row is part of an Excel Table?
Click a cell in the new row and check whether the Table Design tab appears. If it does not, select the table and use Table Design > Resize Table to include the row.
Can different source columns contain different numbers of rows?
A PivotTable source must be a rectangular range or table. Select all required columns and rows together, with a header for each column.




