Function Problems

Add Two Years to Dates in Excel Without Changing the Format

Adam DavisAdam Davis Dec 2, 2026 868 views

Question details

Add two years to hundreds of worksheet dates while retaining their original date display format.

Add Two Years to Dates in Excel Without Changing the Format
Product
Microsoft Excel
Device & OS
not provided
Scenario
A column contains dates such as 19/07/2022 that need to become 19/07/2024.
Observed behavior
Earlier formulas produced dates in the 1970s instead of the expected future dates.
Before you start

Check that the source cells contain Excel dates rather than text and identify the first date cell. The examples below assume the first date is in A1 and use an empty column for the results.

Solution 1Recommended

Add 24 Months with EDATE and Format the Results

Use EDATE to add two years to a date and fill the formula down for the rest of the column.

1
Enter the formula

In an empty cell such as B1, enter =EDATE(A1,24) and press Enter. Replace A1 with your first date cell if needed.

2
Apply the date format

Select B1, open Format Cells, and choose a date format matching the source. For the example, choose Custom and enter dd/mm/yyyy.

3
Fill down

Drag the fill handle from the lower-right corner of B1 down through the rows containing dates, or double-click it to fill alongside an adjacent populated column.

4
Replace the original dates if needed

Copy the result cells, select the original date cells, and use Paste Special > Values. Apply the original date format to those cells if necessary.

Add 24 Months with EDATE and Format the Results
Month-end dates: EDATE returns the last day of the target month if the original day does not exist there. For example, February 29, 2024 becomes February 28, 2026.
WPS Office

Add Two Years to Dates in WPS Spreadsheets

Use EDATE in WPS Spreadsheets to add 24 months to each date, then apply the desired date format and fill the formula down.

  1. 1. Open the workbook: Open your Excel workbook in WPS Spreadsheets and locate the first date cell.
  2. 2. Enter EDATE: In an empty cell such as B1, enter =EDATE(A1,24), adjusting A1 to match your source cell.
  3. 3. Set the date format: Select the result cell, open Format Cells, and choose a matching date format or enter dd/mm/yyyy under Custom.
  4. 4. Fill the column: Drag the result cell's fill handle down alongside the remaining dates. If you need to replace the originals, copy the results and use Paste Special > Values on the source cells.
Add two years to a column of dates with EDATEKeep dates displayed in a format such as dd/mm/yyyyOpen and edit Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interface for free
microsoft office alternative - wps office

Frequently Asked Questions

Why does my result show a number instead of a date?

Excel stores dates as serial numbers. Select the result cells, open Format Cells, and choose Date or Custom with a format such as dd/mm/yyyy.

Why might a formula return a date in the 1970s?

The formula may be producing an incorrect date serial number, or a value may have been interpreted incorrectly. Check that the source is a real Excel date, then use =EDATE(A1,24) and apply the desired date format.

What happens when I add two years to February 29?

EDATE returns February 28 if the target year is not a leap year. The DATE formula using the original day instead rolls the result to March 1.

Can I replace the original dates with the calculated dates?

Yes. Copy the formula results, select the original cells, and choose Paste Special > Values. Check that the destination cells still use the desired date format.