Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

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

Sometimes we need to export workbook's data to CSV files when we need to send a CSV file of the Excel data to other users or to import a CSV file of the Excel data in other programs. Here we provide several methods to export and save worksheet data as CSV files.

  1. Add or subtract days to date with formula 00:02
  2. Add or subtract days to multiple dates without formula 00:49
  3. Add or subtract weeks to date in Excel 01:47
  4. Add or subtract months to date in Excel 02:45
  5. Add or subtract years to date in Excel 03:44
  6. Add or subtract a combination of years, month, and days to date in Excel 05:46
  7. Add or subtract days, weeks, months, or years to date with Kutools for Excel 08:00

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:

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:

Do you want to Stand out from the crowd now? 30+ Date features raise your Expertise!

With 30+ date features of Kutools for Excel, you will get practical skills about dates in 3 minutes, and work faster and better than others, easily get pay raise and promotion!

To be More likeable

Efficiently deal with date problems in Excel, help you easily get appreciation of others in work.

Take care your family

Say goodbye to repetitive and trivial date work in Excel, save more time to accompany your family.

Enjoy healthy life

Insert, modify, or calculate dates in bulk, reduce hundreds of clicks every day, farewell to mouse hand.

Never worry about layoffs

Improve 91% work efficiency, solve your 95% date problems in Excel, finish work ahead of schedule.

Free up your memory

12 Kutools formulas about dates, stop memorizing painful formulas and VBA codes, work with ease.

Kutools for Excel brings 300 handy tools for 1500 work scenarios, only $39.0 but worth more than $4000.0 Excel training of others, save every penny for you!

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:

Kutools for Excel - master Excel in 3 minutes

Want to Improve your work ability in Excel now, bring your family a better life?

  • Improve 70% work efficiency, solve 80% Excel problems, save you 2 hours every day to improve yourself and accompany family.
  • Say goodbye to painful formulas and VBA codes, free up your memory! Reduce thousands of mouse clicks, farewell to mouse hand.
  • 300 handy tools for 1500 work scenarios, help you work better and stand out from the crowd, never worry about job cut.
  • Spend $39.0, worth more than $4000.0 training of others, save every penny for you to enjoy life.
  • Choice of 110,000+ highly effective people and 300+ famous companies. Full feature free trial 60-day, no credit card required.
Read More          Download Now

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 Excel tools. Full feature free trial 60-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!

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 70% 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 60-day, no credit card required.
Read More ...
Free Trial Now
 
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    shalu · 10 months ago
    i need your help, i want to solve one question please tell me
    one boy is going on leave from 26-06-2018 to 22-07-2018 for 27 days and his total monthly salary is 23968

    if the month has 30 days then his salary will be per day 798.93 & if month has 31 days then 773.16

    he was on leave in july 05 days(30 days in the month) and rest 22 dyas in july(31 days in the month)
    23968/30*5+23968/31*44
    i want then formula for this calculation in one cell please tell me as soon as possible because its urgent for me mail me on my personal mail
  • To post as a guest, your comment is unpublished.
    Jeff · 1 years ago
    I used the DateDif to get the number of years, months, and days. Now I'm trying to total all of those years months and days. How to I do the total of all the columns for years months and days
  • To post as a guest, your comment is unpublished.
    Brad J · 1 years ago
    I am trying to use the add month function, but I want the date to be based on the previous tab, so when I copy a new tab, it automatically updates the date based on adding a month to the previous tab's date. Any suggestions? Thank you - Brad
  • To post as a guest, your comment is unpublished.
    shashikant · 1 years ago
    i have a date but i want to be after 120 days, date ..what i mean to say for example ...date 7.11.2017 + days 120 = ?(here which date) ..which formula will i use ?
    • To post as a guest, your comment is unpublished.
      Tang Kelly · 1 years ago
      Hi,
      If the date is in a certain cell, say A1, you can use the formula =A1+120 directly;
      If the date is not in a cell, you can use this formula =DATE(2017,11,7)+120
  • To post as a guest, your comment is unpublished.
    WILLIM · 2 years ago
    For simple calculations
    1 year = 365.25 days
    1 month = 365.25/12
    ...
    cell C1 =now()
    Cell C4 = date in question
    =IF(C4