How to Add One Year to an Excel Date and Preserve the Time
Question details
The user needs to add exactly 12 months (one year) to a date-time value in Excel without altering or losing the associated time component.

- Product
- Excel
- Device & OS
- not provided
- Scenario
- Calculating a future date and time exactly one year from an original date-time cell.
- Observed behavior
- Using standard date functions like EDATE often resets or removes the time component. The goal is to accurately shift the year while carrying over the exact original time.
Ensure your original data contains both valid date and time components formatted as numeric values in Excel, rather than plain text strings.
Use EDATE and MOD Functions to Add a Year and Keep the Time
The most effective way to add one year to a date-time value without losing the time is to use EDATE for the months and MOD to extract the original time.
Excel stores dates as whole numbers and times as fractional values. By extracting the fractional part using the MOD function, you can preserve the time and add it back to the newly calculated date.
Click on the empty cell where you want the new date and time to appear.
Type =EDATE(A1,12)+MOD(A1,1) (assuming your original date and time are in cell A1).
Press Enter to calculate the result. The EDATE function adds exactly 12 months, and the MOD function retains the original time.
Right-click the result cell, select 'Format Cells', go to the 'Custom' tab, and apply a Date-Time format like m/d/yyyy h:mm AM/PM so the time displays correctly.

Manage Dates and Times Effortlessly in WPS Spreadsheet
WPS Spreadsheet fully supports advanced date and time calculations, including EDATE and MOD functions, making it a perfect tool for handling complex schedules and data timelines.
- 1. Open your workbook: Launch WPS Office and open your spreadsheet containing the date-time data.
- 2. Input the formula: Select a blank cell and enter =EDATE(A1,12)+MOD(A1,1).
- 3. Format the cell: Right-click, select 'Format Cells', and apply your preferred date and time custom format.

Frequently Asked Questions
Why does the EDATE function remove the time from my cell?
The EDATE function in Excel is designed strictly to return the serial number of a date. It automatically discards any fractional values (times) attached to the original cell, which is why you must manually add the time back using the MOD function.
Can I use the DATE function instead of EDATE?
Yes, you can use =DATE(YEAR(A1)+1, MONTH(A1), DAY(A1)) + MOD(A1,1). However, EDATE is generally preferred because it automatically handles leap years correctly when adding full months or years.
How do I add a different number of years, like 5 years?
Since the EDATE function calculates based on months, simply multiply the number of years by 12. For 5 years, use =EDATE(A1, 60) + MOD(A1,1).
Why is my result showing as a random decimal number instead of a date?
Excel stores dates and times as serial numbers (e.g., 45123.5). If your result appears as a number, you just need to change the cell format. Right-click the cell, select 'Format Cells', and choose an appropriate Date and Time format.




