Fix Excel Pivot Table Counting Fewer Records Than Source Data
Question details
The user needs to understand and fix why an Excel Pivot Table is displaying a lower record count (e.g., 61) than the actual number of rows present in the source data (e.g., 62).

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Summarizing dataset records using a Pivot Table and verifying the final record counts against the source data.
- Observed behavior
- The Pivot Table's count of records is lower than the actual number of rows in the source dataset, missing one or more entries due to data range issues, blanks, or filters.
Ensure your workbook is saved before modifying your data ranges. It is also helpful to clear any active filters in your source dataset to guarantee all rows are visible during troubleshooting.
Update and Expand the Pivot Table Data Source Range
The most common cause of missing records is that new rows were added to the dataset, but the Pivot Table's source range was not expanded to include them.
When you manually select a range of cells for a Pivot Table, it remains static. Any data pasted below that specific range will be ignored until you manually adjust the boundaries of the source data.
Click anywhere inside your existing Pivot Table to reveal the PivotTable Analyze (or Options) tab on the ribbon.
Click the 'Change Data Source' button in the Data group.
In the dialog box, re-select your entire dataset with your mouse, ensuring the newly added rows at the bottom are highlighted, and click OK.
Right-click anywhere inside the Pivot Table and select 'Refresh' to update the record count.

Clear Hidden Filters in the Pivot Table
Active filters within the Pivot Table might be hiding specific records from the final summary count.
Check for Blank Cells and Distinct Count Settings
If the Pivot Table is counting a column that contains blank cells, or if it is configured to count only unique values, the total will be lower than the row count.
Create and Manage Pivot Tables Effortlessly in WPS Spreadsheet
WPS Spreadsheet offers powerful, highly compatible Pivot Table features that make data summarization accurate and easy. You can easily manage data sources, apply dynamic ranges, and avoid missing records when analyzing large datasets.
- 1. Select Your Data: Open your dataset in WPS Spreadsheet and select the entire data range you want to analyze.
- 2. Insert Pivot Table: Go to the 'Insert' tab on the top ribbon and click the 'PivotTable' button.
- 3. Choose Placement: Select whether to place the Pivot Table on a New Worksheet or an Existing Worksheet, then click OK.
- 4. Build the Layout: Drag and drop your desired fields into the Rows and Values areas in the task pane to instantly generate an accurate record count.

Frequently Asked Questions
Why does my Pivot Table show a 0 count for some items?
This typically happens if the source data contains numbers that are formatted as text, or if there is a mismatch in data types. Select the affected column in your source data, convert the text to numbers using the error-checking drop-down, and refresh the Pivot Table.
Does the 'Count' function in a Pivot Table ignore blank cells?
Yes, the standard 'Count' function evaluates how many cells actually contain data in the selected field. If a cell is completely empty in the source data, it will not be included in the Pivot Table's total count.
How do I make my Pivot Table data source update automatically?
Before creating the Pivot Table, convert your raw source data into an official Table by selecting it and pressing Ctrl+T (or going to Insert > Table). When you append new rows to this Table, the Pivot Table will include them automatically upon your next refresh.
What is the difference between Count and Distinct Count in a Pivot Table?
'Count' tallies every single instance of data in a column, including duplicate entries. 'Distinct Count' (available when adding data to the Data Model) only tallies unique values, ignoring duplicates, which will result in a lower total count than the raw row count if duplicates exist.




