Adding Dates

gymwrecker

Active Member
Joined
Apr 24, 2002
Messages
390
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I'm working on an excel spreadsheet that contains dates. If I have a cell with a specific date, how could, by adding 6 months, have the next cell display the new date? What formula, procedure should I use to add dates?, in this case, add six months to the date on one cell?
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
This may not be perfect, but it is close:
If A1 contains the date:

=A1+DATEVALUE("7/1")

Tom
 
Upvote 0
On 2002-04-27 18:29, gymwrecker wrote:
I'm working on an excel spreadsheet that contains dates. If I have a cell with a specific date, how could, by adding 6 months, have the next cell display the new date? What formula, procedure should I use to add dates?, in this case, add six months to the date on one cell?

Hi gymwrecker:
If your original date is in cell A2, then you can use the following formula ...

=EDATE(A2,6) to get a date 6 months later than that in cell A2.

HTH
 
Upvote 0
On 2002-04-27 18:35, TsTom wrote:
This may not be perfect, but it is close:
If A1 contains the date:

=A1+DATEVALUE("7/1")

Tom

Hi Tom:
With your formula I got the right day, the right month, but year-wise it took me way way into the future!

Regards!

Yogi Anand
 
Upvote 0
Hi gymwrecker and Tom:
I could use a more straightforward formula ...

=DATE(YEAR(A2),MONTH(A2)+6,DAY(A2))

I still have to figure out the basis for Tom's suggestion though.
 
Upvote 0
I figured that there was a function to do this...

This is what I originally had

=A1+DATEVALUE("7/1/1900")

Not

=A1+DATEVALUE("7/1/")

seeing that it would default to the current year and become the equivelant of :

=A1+DATEVALUE("7/1/2002")

Seems to work though...

Tom
 
Upvote 0
seeing that it would default to the current year and become the equivelant of :

=A1+DATEVALUE("7/1/2002")

Seems to work though...

Tom

Hi Tom:
Let us try with today's date in cell A1 ... that would be
=today()

now if I add the date in cell A1 and datevalue("7/1/2002")

=today()+datevalue("7/1/2002")

you will notice that I get 10/27/2104

that's what I meant earlier by way way into the future. The day comes out right, the month comes out right, but not the year.

Regards!

Yogi Anand
This message was edited by Yogi Anand on 2002-04-27 19:11
 
Upvote 0
I have cell J2 with 09 Nov 01, how could I make cell J3 read 09 May 02, J2 + 6 months?
I have tried all your given formulas, but none have worked so far! Thanks for your replies.
 
Upvote 0

Forum statistics

Threads
1,213,534
Messages
6,114,186
Members
448,554
Latest member
Gleisner2

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