Note: The other languages of the website are Google-translated. Back to English

How to add or subtract days, months, and years to date in Excel?

This article provides 7 solutions to add or subtract days, weeks, months, years, or a combination of years/months/days to a date in Excel. Video Demo

  1. Add or subtract days to date with formula
  2. Add or subtract days to multiple dates without formula
  3. Add or subtract weeks to date in Excel
  4. Add or subtract months to date in Excel
  5. Add or subtract years to date in Excel
  6. Add or subtract a combination of years, month, and days to date in Excel
  7. Add or subtract days, weeks, months, or years to date with Kutools for Excel

Add or subtract days to date with formula

You may have noticed that dates are 5-digit numbers in Excel. Therefore, you can add or subtract days as easy as adding or minus the number of days in Excel.

= date + number of days

1. Select a blank cell you will place the calculating result, type the formula =A2+10, and press the Enter key.
Note: For subtracting 10 days from the date, please use this formula =A2–10.

2. If you need to apply this formula to other cells, please drag the AutoFill handle of the formula cell to these cells as you need.

Now you have added or subtracted the same number of days from these dates in bulk. See screenshot:

Easily add/subtract days, weeks, Months, or Years to date in Excel

Difficult and tedious to remember long complicated formulas in Excel? Kutools for Excel’s Formula Helper lists most common-used formulas to help you quickly calculate and solve problems in Excel, says Add years / months / weeks / days to date, Add hours / minutes / seconds to date, Sum absolute values, Find most common value, etc. Full Feature Free Trial 30-day!
ad add days weeks months years to date

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now

Add or subtract days to multiple dates without formula

Comparing to formulas, some Excel users prefer to add or subtract days directly without formulas. Here I will guide you to add or subtract the same number of days from multiple dates with Paste Special feature in Excel.

1. Type the number of days you will add or subtract to dates in a blank cell, says 10, and then copy it. See screenshot:

2. Select the dates you will add or subtract days, right click, and select Paste Special > Paste Special in the context menu. See screenshot:

3. In the Paste Special dialog, please check Add or Subtract options as you need, and click the OK button. See screenshot:

4. Now the number is added or subtracted to the dates, and the dates display as 5-digit numbers. Keep these 5-digit numbers selected, and click Home > Number Format box > Short Date to convert them to dates again.

Now you will see the specified number of days is added or subtracted from the specified range of dates in bulk without formula. See screenshot:

Add or subtract weeks to date in Excel

You can also apply formula to add or subtract the specified number of weeks from a date in Excel. Please do as follows:

= date + 7 * number of weeks

1. Select the blank cell you will place the calculating result, type the formula =A2+4*7, and press the Enter key.
Note: For subtracting 4 weeks from the date, please use this formula =A2-4*7.

Kutools for Excel

Stand out from the Crowd

300 Handy Tools
Solve 80% Problems in Excel
Free Trial Now

Say goodbye to terrible VBA and formulas!

2. If you need to add or subtract weeks from other dates, please drag the AutoFill handle of the formula cell as you need.

Now you have added or subtracted the same number of weeks from multiple dates in bulk. See screenshot:

Add or subtract months to date in Excel

For adding or subtracting months to dates, it’s not fit to add or subtract 30 from the dates because months contain different number of days in a year, some contain 30 days, some contain 31 days, while some contain 28 or 29 days. Therefore, we need to apply the EDATE function to deal with this situation.

= EDATE(date, number of months)

1. Select the blank cell you will place the calculating result, type the formula =EDATE(A2,3), and drag this formula cell’s AutoFill handle to apply this formula to other cells as you need.
Note: To subtracting 3 months from the date, please use this formula =EDATE(A2,-3).

2. As you see, the EDATE function will return 5-digit numbers. Please keep these 5-digit numbers selected, and click Home > Number Format box > Short Date to convert them to dates back. See screenshot:

Now you will see it has added or subtracted the same number of months to the dates in bulk. See screenshot:

Add or subtract years to date in Excel

For example, you will add 6 years to a batch of dates in Excel, you can do as follows:

= DATE(YEAR(date) + number of years, MONTH(date),DAY(date))

1. Select the blank cell you will place the calculating result, type the formula =DATE(YEAR(A2)+6,MONTH(A2),DAY(A2)), and press the Enter key.
Note: To subtract 6 years from the date, please apply this formula =DATE(YEAR(A2)-6,MONTH(A2),DAY(A2)).

2. If needed, drag the formula cell’s AutoFill handle to apply this formula to other cells as you need.

Add or subtract a combination of years, month, and days to date in Excel

In some cases, you may need to add or subtract years, months, and days at the same time, says add 3 years 5 months and 15 days. In this case, you can apply the DATE function to solve the problem.

= DATE(YEAR(date) + number of years, MONTH(date) + number of months, DAY(date) + number of days)

1. Select the blank cell you will place the calculating result, type the formula =DATE(YEAR(A2)+3,MONTH(A2)+5,DAY(A2)+15), and press the Enter key. See screenshot:
Note: To subtract the combination of years, months, and days together, please use this formula =DATE(YEAR(A2)-3,MONTH(A2)-5,DAY(A2)-15).

2. If needed, please drag this formula cell’s AutoFill handle to apply this formula to other cells.

Add or subtract days, weeks, months, or years to date with Kutools for Excel

If you have Kutools for Excel installed, you will find its Formula Helper lists most-commonly-used formulas to help you easily calculate in Excel, including adding days, weeks, months, or years to date. Please do as follows:

Kutools for Excel - Includes more than 300 handy tools for Excel. Full feature free trial 30-day, no credit card required! Get It Now

1. Select the cell you will put calculating result in, and click Kutools > Formula Helper > Add years to date.
Tip: Please select the suitable formula from the Formula Helper drop down list based on your needs. For example, select Add weeks to date for adding/subtracting specified weeks to a date.

2. In the opening Formula Helper dialog box, specify the date cell address in the Date Time box, and type the number of years you will add in the Number box.
Tip: In our case, we will add 5 year from the date, therefore we type 5 into the Number box. If you need to subtract some years, for example 3 years, please type -3 into the Number box.

3. Click the Ok button to apply the formula of Add years to date. Please drag the Fill Handle to apply this formula to other range if necessary.

Add/subtract days to date:

Add/subtract weeks to date:

Add/subtract months to date:

Kutools for Excel’s Formula Helper will save Excel users from memorizing complicate formulas and lists most common-used formulas to help you quickly calculate and solve problems in Excel, says Add years / months / weeks / days to date, Add hours / minutes / seconds to date, etc. Have a Free Trial!

Demo: Add or subtract days, weeks, months, or years to date in Excel


300 tools help you stand out from the crowd now

with Kutools for Excel - never worry about job cut

Kutools for Excel brings 300 handy tools for 1500 work scenarios, helps you work faster and better than your colleagues, and easily win trust of your boss. You will be the last one in the list of layoffs, and easily maintain a stable and better life for your family!

  • To be a master of Excel in 3 minutes, and easily win appreciation of others.
  • Improve 80% work efficiency, solve your 80% problems in Excel, not work overtime.
  • Speed up your work, save 2 hours every day to improve yourself and accompany family.
  • Say goodbye to complicated formulas and VBA code, free up your memory.
  • Reduce thousands of keyboard operations and mouse clicks, far away from mouse hand.
  • Spend $39.0, worth more than $4000.0 training of others.
  • Choice of 110,000+ highly effective people and 300+ famous companies, work stable in Excel.
  • Full feature free trial 30-day, no credit card required.
Read More ...
Free Trial Now
 
Comments (58)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Thank you, thank you, thank you. This is exactly what I needed and explained in such a clear manner with explanations and examples. Has made life so much easier without my brain imploding :lol:
Lizzy
This comment was minimized by the moderator on the site
This is what I was looking for. Thanks, it is really useful. :-)
Sneet
This comment was minimized by the moderator on the site
thanks EDATE function solved my problem thanks a lot.
NIK
This comment was minimized by the moderator on the site
Thank you so much for your explaining with screen shots. Really so much helped this tip to me..
Rama
This comment was minimized by the moderator on the site
Really so nice post... helped a lot
Ajeet
This comment was minimized by the moderator on the site
Simple but effectve explanation; thanks
kunnumpurathu
This comment was minimized by the moderator on the site
Really Cool yaar...... Extremely Good
Pankaj Singh
This comment was minimized by the moderator on the site
Extremely Good..... Looking for these kind of more examples
Pankaj Singh
This comment was minimized by the moderator on the site
THIS SIN'T WHAT I WAS LOOKING FOR, IT WASN'T USEFUL AT ALL. I WAS TRYING TO CALCULATE A TIME PERIOD . NOT SUBTRACT & ADD DATES ! THANKS BUT NO THANKS :-x
Lei G
This comment was minimized by the moderator on the site
Dear Sir/Madam, 20/08/2014 - 10/10/2016 = days ...? In excel how to calculate the no of days help me in this regard. Regards Cherry,
Ravi Kumar
This comment was minimized by the moderator on the site
In order to cal days try this formula Datedif(10/10/2016-20/8/2014,"d")+1
star
This comment was minimized by the moderator on the site
Very Nice I am thankful
Anil Pawaskar
This comment was minimized by the moderator on the site
thank you!!!!! you saved me!
Anita
This comment was minimized by the moderator on the site
20/08/2014 - 10/10/2016=? =DATEDIF(A1,B1,"Y")&"Years,"&DATEDIF(A1,B1,"YM")&"Months"&DATEDIF(A1,B1,"MD")&"Days" If it not working than go to control panel then go to clock, language, Region and set your date format like 1st day, Month, Year and ok. It was the solution Ravi Kumar of your question. Reagrad Azeem Qureshi
Azeem Qureshi
This comment was minimized by the moderator on the site
it was very helpful for me
vaishnavi
This comment was minimized by the moderator on the site
Sir, Very informative and helping a lot. Thank You.
Prashant Chitmulwar
This comment was minimized by the moderator on the site
This is why I like Excel. Thank You for sharing. Save me a lot of time when I compute depreciation expenses for my company
Sam Trieu
This comment was minimized by the moderator on the site
Hello.. I want to less year to year get months in excel,Exp:-01-01-2000 - 01-08-2000 = 8 months by which formula i do that>>>.
Avinash Singh
This comment was minimized by the moderator on the site
03.02.2014 how to convert 03/02/2014
VENKAT
This comment was minimized by the moderator on the site
03.02.2014 how convert 03/02/2014
VENKAT
This comment was minimized by the moderator on the site
Avinash, if you know for sure that it will be the first of the month each time: =ROUND((L5-K5)/30,0)-1 Otherwise, you can try this: =CONVERT(L5-K5,"day","yr")*12 but then you still need to round it accordingly. I admit that neither of the solutions is really pretty.
AnneK
This comment was minimized by the moderator on the site
I have dates going across a sheet; each column will eventually have a date put in it. What I want to do is have the last column-which is labeled 'Next Due Date' automatically add 90 days to the newest date entered. Columns are labeled 'Date Completed' There will be a list of names in the rows and as their Home Visits are completed and the date is entered, we want the last column to 'refresh' & tell us the next due date (90 days) All I can find is: example =D2+90 but then we have to change the Letter each time & we want to protect that column so nobody can mess with the formula.
dianne
There are no comments posted here yet
Load More
Leave your comments
Posting as Guest
×
Rate this post:
0  Characters
Suggested Locations