#1   Report Post  
Posted to microsoft.public.excel.misc
NAS NAS is offline
external usenet poster
 
Posts: 7
Default add to date

I need help on how to get a code or function to add 3 years to dates in an
excel doc. For example take todays date and add 3 years to get 10/02/2012
automatically.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default add to date

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

Just be careful of Leap Years.
--
Gary''s Student - gsnu200906


"NAS" wrote:

I need help on how to get a code or function to add 3 years to dates in an
excel doc. For example take todays date and add 3 years to get 10/02/2012
automatically.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
date in Cell to change colors if the date is beyond today's date Pete Elbert Excel Discussion (Misc queries) 2 June 6th 09 06:31 AM
Given a date, how do I get the 1st date and the last date of theprevious month? Author[_2_] Excel Worksheet Functions 5 April 2nd 09 12:59 AM
Making a date go red, if date passes todays date. Jamie Excel Worksheet Functions 2 September 9th 08 02:14 PM
Report Date - Date Recv = Days Late, but how to rid completed date MS Questionnairess Excel Worksheet Functions 1 January 24th 07 11:05 PM
Date updates from worksheet to chart & changes date to a date series! Help!! Jayjg Charts and Charting in Excel 2 January 22nd 05 03:00 PM


All times are GMT +1. The time now is 01:01 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"