How do I add 2 years to a date field?

gavia111

New Member
Joined
Mar 20, 2003
Messages
2
I'm trying to add two years to a date type in Excel. I specifically do not want to just add 730 days as it doesn't account for leap years. Please advise.

Thanks! :D
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
Hi,

You could use this; you need to make sure that the Analysis Tool Pak in turned on.

=EDATE(A12,24)

2rrs
 
Upvote 0
Worked great thanks!

Now is there a way I can subtract today's date for a day in the future and determine the number of days in between? For example if monday is 03/24/03 and today is 03/20/01 the number of days between the two dates is 735. How can I calculate this?

Thanks so much for the help!
 
Upvote 0
gavia111 said:
Worked great thanks!

Now is there a way I can subtract today's date for a day in the future and determine the number of days in between? For example if monday is 03/24/03 and today is 03/20/01 the number of days between the two dates is 735. How can I calculate this?

Thanks so much for the help!

=A1-TODAY()

A1 houses a value like 03/24/03, a true date. Format the formula cell as General.
 
Upvote 0

Forum statistics

Threads
1,213,536
Messages
6,114,208
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