To add years to a date in Excel, the most reliable method is using the EDATE function or the DATE function. While you cannot simply add a number like "1" to a cell to increase the year (because Excel treats 1 as one day), these functions allow you to shift a date forward or backward by a specific number of years while maintaining the correct day and month.
What You'll Need
- A computer with Microsoft Excel installed (works across Windows, macOS, and Excel for the Web).
- A dataset containing at least one cell formatted as a "Date."
- A basic understanding of how to enter a formula into a cell.
Step-by-Step
Depending on your specific goal, there are two primary ways to achieve this. Method 1 is the fastest for simple additions, while Method 2 offers more control for complex calculations.
Method 1: Using the EDATE Function (Fastest)
The EDATE function is designed to add a specific number of months to a date. Since there are 12 months in a year, you simply multiply the number of years you want to add by 12.
- Click on the cell where you want the new date to appear.
- Type
=EDATE(into the cell. - Click on the cell containing your original start date (e.g., cell A2).
- Type a comma, then enter the number of years multiplied by 12. For example, to add 5 years, type
5*12or simply60. - Close the parenthesis and press Enter. The final formula should look like:
=EDATE(A2, 60). - If the result appears as a five-digit number (e.g., 45231), go to the Home tab, find the Number group, and change the dropdown menu from "General" to "Short Date."
Method 2: Using the DATE Function (Most Precise)
The DATE function allows you to break a date into its year, month, and day components, modify the year specifically, and then put it back together. This is the safest method if you are performing complex date arithmetic.
- Click on the cell where you want the calculated date to appear.
- Type
=DATE(to start the function. - To isolate the year and add to it, type
YEAR(A2)+5(replacing A2 with your date cell and 5 with the number of years you wish to add), followed by a comma. - To keep the month the same, type
MONTH(A2), followed by a comma. - To keep the day the same, type
DAY(A2). - Close the parenthesis and press Enter. The final formula should look like:
=DATE(YEAR(A2)+5, MONTH(A2), DAY(A2)).
Common Mistakes
- Adding 365 days: Many users try to add years by typing
=A2+(365*5). This is inaccurate because it ignores leap years. Over several years, your date will "drift" and be off by one or more days. - Incorrect Cell Formatting: Seeing a number like "44197" instead of a date is the most common point of confusion. This is not an error; Excel stores dates as serial numbers. You simply need to change the cell format to "Date."
- Circular References: Attempting to put the formula in the same cell as the original date. You must place the formula in a new, empty cell that references the original date cell.
Tips
- Dynamic Years: Instead of typing the number of years (like 5) directly into the formula, type the number of years in a separate cell (e.g., B2). Then use
=EDATE(A2, B2*12). This allows you to change the number of years for the entire column just by updating one cell. - Subtracting Years: To subtract years, use a negative number. For example,
=EDATE(A2, -60)will move the date back 5 years. - Fill Handle: Once you have written the formula for the first row, click the small green square in the bottom-right corner of the cell and drag it down to apply the calculation to your entire list of dates.
Troubleshooting
If your formula is not working as expected, try these steps in order:
- Check for #VALUE! errors: This usually means the "date" in your original cell is actually being stored as text. To fix this, select the cell, go to the Data tab, select Text to Columns, and click Finish immediately. This often forces Excel to recognize the text as a date.
- Verify Parentheses: Ensure every opening parenthesis
(has a matching closing parenthesis). A missing bracket will trigger a formula error message. - Check the Date Format: If the result looks like a random number, ensure the cell is formatted as a Date via Home > Number > Short Date.
- Leap Year Check: If you add years to February 29th, the EDATE function will automatically adjust the result to February 28th in non-leap years, which is the standard business practice.
Frequently Asked Questions
Can I add years to a date without using a formula?
Not automatically. While you can manually overwrite a date, any calculation involving years requires a formula because Excel calculates time in days, not calendar years.
Which is better: EDATE or DATE?
EDATE is faster and shorter to type for simple additions. The DATE function is better if you also need to change the month or day simultaneously (e.g., adding 5 years and 1 day).
Why does my date turn into a number like 45000?
Excel stores dates as the number of days elapsed since January 1, 1900. When a formula result is not automatically formatted, Excel shows the raw serial number. Change the cell format to "Date" to fix this.
Does this work in Google Sheets?
Yes, both the EDATE and DATE functions work identically in Google Sheets as they do in Microsoft Excel.
How do I add a fraction of a year, like 1.5 years?
Since you cannot add a fraction of a year directly, use the EDATE function and convert the fraction to months. For 1.5 years, use 18 months: =EDATE(A2, 18).