Skip to main content

Excel Formula: Add months to date

doc add hours to time 7

in this tutorial, it introduces formulas to add months to a given date in Excel, and explains how the formulas work.

Formula 1

 

Generic formula:

DATE(YEAR(date),MONTH(date))+months,DAY(date)))

Arguments

Date: the date you want to add months to.
Months: a whole number which represents the number of months you want to add. It adds months to dates while the argument months is a positive value, and it subtracts months from the given date while the argument months is negative.

Return value

Return a value in date format.

How this formula work

Take an instance, to add months to the date in cell B3, and the number of months is placed in cell C3, please use the formula as below:

=DATE(YEAR(B3),MONTH(B3)+C3,DAY(B3))

Press Enter key to get the result.
doc add months to date 2

Explanation

YEAR, MONTH and DAY functions separately get the year, month and day as relative integers from the given date.

Date function is used to create a date based on the given year, month, and day.

Formula 2

 

Generic formula:

EDATE(Sart_date,months)

Arguments

Start_date: the date you want to add months to.
Months: a whole number which represents the number of months you want to add. It adds months to dates while the argument months is a positive value, and it subtracts months from the given date while the argument months is negative.

Return value

Return a seriealn number value.

How this formula work

For example, to add months to the date in cell B8, and the number of months is placed in cell C8, please use the formula as below:

=EDATE(B8,C8)

Or directly use the number in the formula

=EDATE(B8,20)

Press Enter key to get the date in serial number format.
doc add months to date 3

Explanation

There are 24 hours a day, and one hour is 1/24 day.

Remark

If you want to subtract the hours from time, please use below formula

MOD(Start_time-hours/24,1)

For example, there is a time in cell B18, the number of hours you want to subtract is displayed in cell C18, please use below formula:

=MOD(B18-C18/24,1)

Or

=MOD(B18-12/24,1)

Press Enter key then the result is shown.
doc add hours to time 6

Then right click at the serial number, choose Format Cells from the context menu, then in the pipping Format Cells dialog, choose Date in Category list under Number tab, and select one type of date formats you want the result displayed.
doc add months to date 4

Click OK, then the serial number is displayed in date format.
doc add months to date 5

Note:

Excel stores dates as sequential serial numbers so that they can be used in calculations. By default, January 1, 1900 is the serial number 1. In this case, serial number 44219 means the day is 44219 days after January 1, 1900, and it is 1/23/2021.

Explanation

The EDATE function is used to add months to a date, for more details about this function, please go to this article Excel EDATE Function.

Sample File

doc sampleClick to download sample file


Relative Formulas

  • Add Hours Minutes Seconds To Time
    Supposing there is a list of time values in Excel, now you want to add 3 hours 45 minutes and 20 seconds to the time values, Excel provides two formulas to help you.
  • Extract Or Get Date Only From The Datetime In Excel
    To extract only date from a list of datetime cells in Excel worksheet, the INT, TRUNC and DATE functions can help you to deal with this job quickly and easily.
  • Add Minutes To Time
    This tutorial provides formulas and explains how to add minutes to time in Excel.
  • Get Work Hours Between Two Dates In Excel
    The NETWORKDAYS function in Excel can help you to get the net workdays between two dates, and then multiply the number of working hours per workday to get the total work hours.

Relative Functions


The Best Office Productivity Tools

Kutools for Excel - Helps You To Stand Out From Crowd

🤖 Kutools AI Aide: Revolutionize data analysis based on: Intelligent Execution   |  Generate Code  |  Create Custom Formulas  |  Analyze Data and Generate Charts  |  Invoke Kutools Functions…
Popular Features: Find, Highlight or Identify Duplicates  |  Delete Blank Rows  |  Combine Columns or Cells without Losing Data  |  Round without Formula ...
Super VLookup: Multiple Criteria  |  Multiple Value  |  Across Multi-Sheets  |  Fuzzy Lookup...
Adv. Drop-down List: Easy Drop Down List  |  Dependent Drop Down List  |  Multi-select Drop Down List...
Column Manager: Add a Specific Number of Columns  |  Move Columns  |  Toggle Visibility Status of Hidden Columns  Compare Columns to Select Same & Different Cells ...
Featured Features: Grid Focus  |  Design View  |  Big Formula Bar  |  Workbook & Sheet Manager | Resource Library (Auto Text)  |  Date Picker  |  Combine Worksheets  |  Encrypt/Decrypt Cells  |  Send Emails by List  |  Super Filter  |  Special Filter (filter bold/italic/strikethrough...) ...
Top 15 Toolsets12 Text Tools (Add Text, Remove Characters ...)  |  50+ Chart Types (Gantt Chart ...)  |  40+ Practical Formulas (Calculate age based on birthday ...)  |  19 Insertion Tools (Insert QR Code, Insert Picture from Path ...)  |  12 Conversion Tools (Numbers to Words, Currency Conversion ...)  |  7 Merge & Split Tools (Advanced Combine Rows, Split Excel Cells ...)  |  ... and more

Kutools for Excel Boasts Over 300 Features, Ensuring That What You Need is Just A Click Away...

Description


Office Tab - Enable Tabbed Reading and Editing in Microsoft Office (include Excel)

  • One second to switch between dozens of open documents!
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Brings Efficient Tabs to Office (include Excel), Just Like Chrome, Edge and Firefox.

Comments (0)
No ratings yet. Be the first to rate!
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
Rate this post:
0   Characters
Suggested Locations