Add one month

blither

New Member
Joined
Feb 9, 2003
Messages
1
I'm more of an Access person so I'm used to the dateadd function. How do you add one month or one day to a date in Excel?
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
On 2003-02-10 14:46, blither wrote:
I'm more of an Access person so I'm used to the dateadd function. How do you add one month or one day to a date in Excel?

=A1+1 adds 1 day to date in A1.

=DATE(YEAR(A1),MONTH(A1)+1,DAY(A1)) adds 1 month.

=EDATE(A1,1) is identical to the latter and requires that the Analysis Tooolpak is activated.
 
Upvote 0
Hi, Try this.
The first one will add 1 month to A12; the second one or any number of years, months and/or days to A13. Your choice.

=EDATE(A12,1)

=DATE(YEAR(A13)+1, MONTH(A13)+1, DAY(A13)+1)

2rrs
 
Upvote 0
On 2003-02-10 14:51, Aladin Akyurek wrote:

=A1+1 adds 1 day to date in A1.

=DATE(YEAR(A1),MONTH(A1)+1,DAY(A1)) adds 1 month.

=EDATE(A1,1) is identical to the latter and requires that the Analysis Tooolpak is activated.

The two latter formulas do not always produce the same result (because of different handling of months where the no. of days are not the same).

For example, if 1 month is to added to 30 Jan 2002, the "DATE" formula produces 2 March 2003 and the "EDATE" formula produces 28 Feb 2003.
 
Upvote 0
On 2003-02-10 18:24, Ponsonby wrote:
On 2003-02-10 14:51, Aladin Akyurek wrote:

=A1+1 adds 1 day to date in A1.

=DATE(YEAR(A1),MONTH(A1)+1,DAY(A1)) adds 1 month.

=EDATE(A1,1) is identical to the latter and requires that the Analysis Tooolpak is activated.

The two latter formulas do not always produce the same result (because of different handling of months where the no. of days are not the same).

For example, if 1 month is to added to 30 Jan 2002, the "DATE" formula produces 2 March 2003 and the "EDATE" formula produces 28 Feb 2003.

Yep, quite true. These darn date and time things...
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,525
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top