Pivot Table Issues

How to Group Excel PivotTable Dates Before January 1900

John WilsonJohn Wilson Nov 13, 2026 869 views

Question details

User needs to group historical dates earlier than January 1, 1900 in an Excel PivotTable by year, month, or another label, because Excel's built-in date grouping does not accept pre-1900 dates.

How to Group Excel PivotTable Dates Before January 1900
Product
Microsoft Excel
Device & OS
not provided
Scenario
The source data contains dates before January 1, 1900, and the user wants them grouped in a PivotTable for historical analysis.
Observed behavior
Excel PivotTable date grouping does not support dates earlier than January 1, 1900; the date grouping options may be unavailable or produce incorrect groups.
Before you start

Confirm which column contains the pre-1900 dates and decide whether you need grouping by year, month, quarter, or a custom period such as decade or century before you add helper columns.

Solution 1Recommended

Create Helper Columns for Year, Month, or Custom Grouping in the Source Data

Use this method when you need to group pre-1900 dates in an Excel or WPS PivotTable without relying on the built-in date grouping feature.

Excel's PivotTable date grouping works only for dates on or after January 1, 1900. When earlier dates are stored as text, you can create text-based helper columns in the source data and use those fields as PivotTable row fields.

1
Insert helper columns next to your date column

Open the source data sheet, select the column next to your pre-1900 date column, right-click, and choose Insert to add new columns for Year, Month, or a custom label.

2
Extract the year or month with a text formula

In the helper column, enter a formula that matches your date format, such as =LEFT(A2,4) for YYYY-MM-DD text dates or =MID(A2,6,2) for the month. Adjust the cell reference and character positions to your date layout.

3
Create a combined grouping label if needed

In another helper column, concatenate the year and month with a formula like =LEFT(A2,4)&"-"&MID(A2,6,2) to create values such as 1888-05 for monthly grouping.

4
Add the helper fields to the PivotTable

Click the PivotTable, open the PivotTable Fields pane, and drag the new Year, Month, or label columns into the Rows area instead of the original date field.

5
Refresh and verify the grouping

Right-click the PivotTable and choose Refresh, then check that pre-1900 records appear in the expected year, month, or custom groups.

Create Helper Columns for Year, Month, or Custom Grouping in the Source Data
Pre-1900 dates grouped safely: Helper columns leave the original date values intact and let you control the grouping labels exactly.

Group Pre-1900 Dates in WPS Office Spreadsheets with Helper Columns

WPS Office Spreadsheets can open and edit Excel workbooks and lets you create the same helper-column grouping for pre-1900 dates. It keeps your source data intact and gives you full control over year, month, period, and custom labels.

  1. 1. Open the Excel workbook in WPS Office Spreadsheets: Launch WPS Office, click Menu > Open, and select the workbook that contains the pre-1900 dates.
  2. 2. Create helper columns for year, month, or period: Insert new columns beside the date column and use text formulas such as =LEFT(A2,4) to extract the grouping value you need.
  3. 3. Update the PivotTable with helper fields: Click the existing PivotTable or create a new one, then drag the helper column into the Rows area instead of the original date field.
  4. 4. Refresh and save the workbook: Right-click the PivotTable, choose Refresh, and save the file in Excel-compatible .xlsx format.
Full control over pre-1900 date grouping with helper columnsExcel workbook compatibility for .xlsx and .xls filesFree, lightweight spreadsheet tool with a familiar interfacePivotTable fields update just like Excel without extra add-ins
microsoft office alternative - wps office

Frequently Asked Questions

Why can't Excel group dates before January 1, 1900 in a PivotTable?

Excel's date system starts at January 1, 1900, so earlier dates are normally treated as text. The PivotTable automatic date grouping cannot create year/month groups from text or unsupported date serials; use helper columns instead.

Can I use the YEAR function on pre-1900 dates?

If the date is stored as text, YEAR returns #VALUE!. Extract the year with text functions like =LEFT(A2,4) or =MID(A2,1,4), depending on the format. If the date is a supported serial in another application, convert it to text first.

Does WPS Office support native PivotTable date grouping before 1900?

WPS Office Spreadsheets is Excel-compatible and may not reliably group pre-1900 dates natively. The recommended workaround is to create helper columns and use those fields in the PivotTable.

What date format is easiest for helper columns?

A consistent text format such as YYYY-MM-DD is easiest. Use =LEFT(A2,4) for year, =MID(A2,6,2) for month, and adjust the character positions to match your actual date format.

How do I refresh the PivotTable after adding helper columns?

Right-click the PivotTable, choose Refresh, and confirm the new helper fields appear in the PivotTable Fields task pane. You may need to add the helper columns to the Rows area manually.