How to Fix Pivot Table Showing Dates Before Earliest Source Date
Question details
The user's pivot table is displaying out-of-bounds date groups that fall before the actual earliest date or after the latest date present in the source data.

- Product
- Spreadsheets
- Device & OS
- not provided
- Scenario
- Grouping dates in a Pivot Table when the source data contains blank cells, formula errors, or is referencing entire columns.
- Observed behavior
- The Pivot Table generates unexpected '<' (less than) or '>' (greater than) date groups that do not exist in the actual dataset.
Ensure you have identified the exact date column used in your Pivot Table's row or column labels, and verify whether the data source highlights entire columns (like A:A).
Clean Blank Cells and Update the Source Range
This is the most common fix. Using an entire-column reference includes millions of blank rows, which the pivot table groups into out-of-bounds dates.
When a Pivot Table references entire columns, it inevitably pulls in empty cells at the bottom of your sheet. Excel interprets these blanks as a zero value (January 0, 1900), which creates the 'before earliest date' grouping.
Apply a filter to your source date column, scroll to the bottom of the filter list, and check for any '(Blanks)' or formula errors like #N/A. Remove or correct these rows.
Click anywhere inside your Pivot Table. Go to the 'PivotTable Analyze' (or Options) tab on the ribbon and click 'Change Data Source'.
Instead of selecting entire columns (e.g., Sheet1!$A:$F), select only the populated data range (e.g., Sheet1!$A$1:$F$500). Click OK.
Right-click the Pivot Table and select 'Refresh'. If the incorrect date groups still appear, right-click the date field, select 'Ungroup', and then 'Group' again.

Convert Source Data to a Table for Dynamic Updating
Converting your data into a Table prevents the need to select entire columns while keeping your Pivot Table dynamically updated when new rows are added.
Create and Manage Pivot Tables Effortlessly in WPS Spreadsheet
WPS Spreadsheet provides powerful and intuitive Pivot Table features, perfectly compatible with Microsoft Excel formats. It allows you to manage large datasets and date groupings without dealing with messy blank-cell errors.
- 1. Open Your Workbook: Launch WPS Spreadsheet and open the workbook containing your raw data.
- 2. Insert a PivotTable: Select your data range, navigate to the 'Insert' tab, and click on 'PivotTable'.
- 3. Group Dates Automatically: Drag your Date field into the Rows area. WPS automatically recognizes dates and groups them accurately without pulling in empty rows.
- 4. Adjust Grouping Preferences: Right-click the date values, select 'Group', and fine-tune your Starting at and Ending at dates for precise analysis.

Frequently Asked Questions
Why does my Pivot Table show a '<1/1/1900' date group?
This usually happens because there are blank cells in your source date column. The spreadsheet application interprets an empty cell as a zero value, which equates to January 0, 1900, causing this group to appear.
Can I simply hide the 'before' and 'after' date groups?
Yes, you can manually hide them by clicking the drop-down filter arrow on your Row Labels in the Pivot Table and unchecking the boxes for the out-of-bounds date groups. However, fixing the data source range is the better long-term solution.
Does refreshing the Pivot Table automatically remove the blank date groups?
Not always. If the dates were previously grouped with blanks present, the cache may hold onto those groups. You usually need to right-click the date field, select 'Ungroup', and then 'Group' it again after correcting the source data.




