How to Calculate Ages for Dates Before 1900 in Excel
Question details
The user needs to calculate ages using birth and death dates that occurred prior to the year 1900.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Working with genealogical data or historical records that require accurate age calculations based on pre-1900 dates.
- Observed behavior
- Excel's standard date system does not recognize or calculate dates before January 1, 1900, resulting in errors when attempting standard date math.
Before modifying your historical dataset, ensure you have backed up your original records to prevent accidental data loss while converting standard dates to text formats.
Use Separate Columns for Year, Month, and Day
Storing historical dates in separate components bypasses Excel's date system limitation, allowing for straightforward mathematical age calculation.
Because Excel cannot process full date values prior to 1900, breaking the date down into its numerical components allows you to perform standard subtraction on the years.
Insert three new columns next to your historical date data and name them 'Year', 'Month', and 'Day'.
Manually enter or extract the year, month, and day components from your historical records into these respective columns as standard numbers.
In a new 'Age' column, subtract the birth year from the death year or current year (e.g., enter `=C2-B2` where C is the End Year and B is the Birth Year).
If you need exact precision, use an IF function to subtract 1 from the calculated age if the end month and day occur earlier in the calendar year than the birth month and day.

Format Historical Dates as Text and Use Text Functions
If you prefer to keep the date in a single cell, storing it as text allows you to extract the year using string manipulation formulas.
Switch to WPS Office for Powerful Data Management
While spreadsheet programs sharing the standard 1900 date epoch face inherent limitations with historical dates, WPS Office provides a highly compatible, free, and lightweight suite for all your advanced data management, text manipulation, and complex formula needs.
- 1. Visit the official website: Go to the WPS Office website to access the free download page.
- 2. Download the software: Click the download button to get the lightweight installation file for your operating system.
- 3. Install and open: Run the installer, follow the on-screen instructions, and open your existing Excel files directly in WPS Spreadsheet without losing formatting.

Frequently Asked Questions
Why does Excel not support dates before 1900?
Excel uses a serial number system for dates starting from January 1, 1900, which is assigned the serial number 1. Dates prior to this date are not recognized as valid serial numbers, preventing native date calculations and formatting.
Can I use a VBA macro to calculate pre-1900 dates?
Yes, advanced users can write custom VBA (Visual Basic for Applications) functions to calculate ages from historical dates stored as text strings. This effectively bypasses the standard 1900 date serial system limitations.
Is there a setting to make Excel recognize 1800s dates automatically?
No, there is no built-in setting in standard spreadsheet applications to change the date system epoch to start before 1900. You must rely on workarounds like text formatting or splitting the date into separate year, month, and day columns.




