Calculation Issues

How to Add Years to a Date in Excel (Correct Way)

Phi Hung VoPhi Hung Vo Nov 11, 2026 870 views

Question details

The user needs to accurately add a specific number of years to an existing date in a spreadsheet without losing the original day and month.

How to Add Years to a Date in Excel
Product
Excel
Device & OS
not provided
Scenario
Calculating future timelines, contract expirations, or anniversaries by adding years to a starting date.
Observed behavior
Using standard DATE formulas with MONTH(0) or DAY(0) can produce unexpected results, such as rolling back to the previous month (e.g., evaluating to December 31 instead of January 1).
Before you start

Ensure that the cells containing your starting dates are properly formatted as 'Date' rather than 'Text' so that formula calculations work correctly.

Solution 1Recommended

Use the EDATE Function (Recommended)

The EDATE function is the most reliable way to add years to a date while preserving the exact day and month.

The EDATE function is designed to add a specific number of months to a date. To add years, you simply multiply your desired number of years by 12.

1
Select the destination cell

Click on the empty cell where you want the newly calculated date to appear.

2
Enter the EDATE formula

Type the formula =EDATE(A2, 7*12) into the formula bar. Replace 'A2' with your target date cell, and '7' with the number of years you wish to add.

3
Apply and format

Press Enter to calculate the result. If the result appears as a large number (like 44197), right-click the cell, select 'Format Cells', and apply a Date format.

Preserving Leap Years: EDATE automatically handles leap years correctly. For instance, adding 1 year to February 29 will return February 28 of the following year.
Efficient Date Calculations

Easily Calculate Dates with WPS Spreadsheet

WPS Spreadsheet provides full support for advanced date and time functions, including EDATE, making it easy to handle complex timelines, schedules, and calculations without errors.

  1. 1. Open your workbook: Launch WPS Spreadsheet and open the document containing your dates.
  2. 2. Select the target cell: Click on an empty cell next to your starting date.
  3. 3. Apply the formula: Type =EDATE(A2, years*12) exactly as you would in Excel to instantly add years to your date.
  4. 4. Format as Date: Right-click the cell, choose 'Format Cells', and select your preferred Date display format.
100% compatible with Microsoft Excel date formulasFree and lightweight alternative for robust data processingBuilt-in templates for project timelines and calendarsUser-friendly interface for easy formula creation
QA img-9

Frequently Asked Questions

Why does adding years using DATE(2031,1,0) return December 31, 2030?

In spreadsheet applications, day 0 is interpreted as the day immediately preceding the first day of the specified month. Therefore, day 0 of January 2031 evaluates backward to December 31, 2030.

Can I use EOMONTH to add years to a date?

It is not recommended if you need to keep the exact day. The EOMONTH function always returns the last day of the resulting month. If your goal is to preserve the exact original day and month, you must use the EDATE function instead.

How do I subtract years from a date?

You can easily subtract years by using a negative number in the EDATE formula. For example, using =EDATE(A2, -5*12) will accurately subtract 5 years from the original date in cell A2.