Add Months To Date In Google Sheets

It is important to adjust time periods when performing financial modeling. In Google Sheets, you can use the MONTH function to add a specific number of months to a date. The MONTH function takes one argument: the number of months you want to add. Here will show you how to add months to date in Google Sheets and even provide some examples that might be useful!

Add Months To Date in google sheets1

Method1: Add Months to Date using EDATE Function

Generic formula:

=EDATE(Sart_date, months)

Arguments

  • Start_date: the starting date on which you want to add months
  • Months: the month that you wish to add

Return Value:

The function will return the date that is the indicated number of months after the start_date. If you enter a negative number of months, it’ll count back from the end date.

When you enter the MONTH function, Google Sheets looks at the date in the cell that you specify as the start_date argument. It then adds the number of months that you entered as the second argument to that date. If you enter a negative number for the second argument, Google Sheets subtracts that number of months from the start_date.

To add a number of months is placed at B2 and add months to the date in cell A2. The formula for this would be:

=EDATE(A1,B1)

Add Months To Date in google sheets1

Or simply enter the number you want in your formula, and it will be replaced with that value.

=EDATE(A1,10)

Add Months To Date in google sheets1

Explanation

This will add 10 months to the date in cell A1. The function will return the date that is the indicated number of months after the start_date. If you enter a negative number of months, it’ll count back from the end date.

The EDATE function is a great way to find out your next date. Simply enter any valid date and then select how many months away from now you want the new one! It’s really easy; just feed it with an amount less than or equal to the number of desired days between these two points-and voila.

Add Months To Date in google sheets1

Method2: Add Months to Date using Date Function

Generic formula:

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

Arguments

  • Date: The starting date on which you want to add months.
  • Months: Months are important when adding or subtracting a certain number of months from/to dates. They add the indicated amount, depending on whether it’s positive and negative values respectively; for example, -1 means one month less than what you want (in other words: ago).
  • YEAR(date): The year component of the date in Date.
  • MONTH(date): The month component of the date in Date.
  • DAY(date): The day component of the date in Date.

Return Value:

A date is the indicated number of months after the start_date. If you enter a negative number of months, it’ll count back from the end date.

How This Formula Work

To add months to the date in cell A1, and a number of added is placed at B1. The formula for this would be as follows:

=DATE(YEAR(A1),MONTH(A1)+B1,DAY(A1))

Add Months To Date in google sheets1

With the Year, Month, and Day functions, you can easily create your date from any combination of these three values. With the Date function, you can create dates based on any year and month of your choice.

Related Functions

  • Google Sheets DAY function
    The Google Sheets DAY function returns a day of a date (from 1 to 31).The DAY function is a build-in function in Microsoft Excel and it is categorized as a DATE and TIME Function.The syntax of the DAY function is as below:= DAY (date_value)…
  • Google Sheets EDATE function
    The Google Sheets EDATE function returns the serial number that represents the date that is a specified number of months before or after a specified date.The syntax of the EDATE function is as below:=EDATE (start_date, months)…
  • Google Sheets DATE function
    The Google Sheets DATE function returns the serial number for a date.The syntax of the DATE function is as below:= DATE (year, month, day)…
  • Google Sheets MONTH Function
    The Google Sheets MONTH function returns the month of a date represented by a serial number. And the month is an integer number from 1 to 12.The syntax of the MONTH function is as below:=MONTH (serial_number)…
  • Google Sheets YEAR function
    The Google Sheets YEAR function returns a four-digit year from a given date value, the year is returned as an integer ranging from 1900 to 9999. The syntax of the YEAR function is as below:=YEAR (serial_number)…

 

Google Sheets EOMONTH Function

This post will guide you how to use Google Sheets EOMONTH function with syntax and examples.

Description


The Google Sheets EOMONTH returns a date representing the last day of the month, n months in the future or past.

The EOMONTH function can be used to get a date that representing the last day of a month which falls a specified number of months before or after date in google sheets. The purpose of this function is to get last day of month or n months in the future or past and its returned values is a last day of month date.

The EOMONTH function is a build-in function in Google Sheets and it is categorized as a Date function.

Syntax


The syntax of the EOMONTH function is as below:

=EOMONTH (start_date, months)

Where the EOMONTH function arguments are:

  • Start_date -This is a required argument. A date that represents the start date.
  • months – This is a required argument. the number of months before or after start_date. if you provide a positive number for months, it represents the future date; if it is a negative number, then it represents a past date.

Notes:

  • google sheets stores dates as a serial number, it indicated the number of days since January 1,1900. and the date January 1,1900 is serial number 1.
  • if start_date is not a valid date, the EOMONTH function will return the #VALUE! error.
  • if months is not an integer, it is truncated.
  • If the start_date has a fractional time component, it will be removed.
  • If the start_date argument contains a decimal value, it will be removed.
  • if you want to change any date n months into the future or past date, you can use the EDATE function.

Google Sheets EOMONTH Function Examples


The below examples will show you how to use google sheets EOMONTH Function to return the serial number.
1# set a positive number for months argument in the EOMONTH function

=EOMONTH(B1,2)

google sheets eomonth function1

2# set a negative number for months argument in the EOMONTH function, using the following formula:

=EOMONTH(B1,-2)

google sheets eomonth function1

3# set an invalid date for start_date argument in the EOMONTH function, type the following formula:

=EOMONTH(B1,-2)

google sheets eomonth function1

4# set a value that is not an integer for months arguments, using the following formula:

=EOMONTH(B1,2)

google sheets eomonth function1

Google Sheets EDATE Function

This post will guide you how to use Google Sheets EDATE function with syntax and examples.

Description


The Google Sheets EDATE returns a date that is a specified number of months before or after a specified date. You can use the EDATE function to calculate the expiration dates or maturity dates or due dates that fall on the same day of the month as the date of issue. or you can add a specified number of months to a date.

The EDATE function can be used to get a date a specified number of months before or after date in google sheets. The purpose of this function is to shift date a specified months in future or post and its returned values is a new date.

The EDATE function is a build-in function in Google Sheets and it is categorized as a Date function.

Syntax


The syntax of the EDATE function is as below:

=EDATE (start_date, months)

Where the EDATE function arguments are:

  • Start_date -This is a required argument. Adate that represents the start date.
  • months – This is a required argument. the number of months before or after start_date. if you provide a positive number for months, it represents the future date; if it is a negative number, then it represents a past date.

Notes:

  • google sheets stores dates as a serial number, it indicated the number of days since January 1,1900. and the date January 1,1900 is serial number 1.
  • if start_date is not a valid date, the EDATE function will return the #VALUE! error.
  • if months is not an integer, it is truncated.
  • If the start_date has a fractional time component, it will be removed.
  • If the start_date argument contains a decimal value, it will be removed.

Google Sheets EDATE Function Examples


The below examples will show you how to use google sheets EDATE Function to return the serial number.
1# set a positive number for months argument in the EDATE function

=EDATE(B1,2)

google sheets edate function1

2# set a negative number for months argument in the EDATE function, using the following formula:

=EDATE(B2,-2)

google sheets edate function1

3# set a invalid date for start_date argument in the EDATE function, type the following formula:

=EDATE(B1,2)

google sheets edate function1

4# set a value that is not an integer for months arguments, using the following formula:

=EDATE(B4,2)

google sheets edate function1