Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Adding 5 yrs to a date

How can I add 5 yrs to an existing date using a formula?

Current Date Desired Date
09/25/2007 09/25/2012


Thanks for your time....
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Adding 5 yrs to a date

One way:

A1: Current Date
B1: =DATE(YEAR(A1)+5,MONTH(A1),DAY(A1))

In article ,
mazalam wrote:

How can I add 5 yrs to an existing date using a formula?

Current Date Desired Date
09/25/2007 09/25/2012


Thanks for your time....

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,124
Default Adding 5 yrs to a date

=DATE(YEAR(G3)+5,MONTH(G3),DAY(G3))

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"mazalam" wrote in message
...
How can I add 5 yrs to an existing date using a formula?

Current Date Desired Date
09/25/2007 09/25/2012


Thanks for your time....


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Adding 5 yrs to a date

=DATE(YEAR(A1)+5,MONTH(A1),DAY(A1))
--
David Biddulph

"mazalam" wrote in message
...
How can I add 5 yrs to an existing date using a formula?

Current Date Desired Date
09/25/2007 09/25/2012


Thanks for your time....



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,118
Default Adding 5 yrs to a date

With
A1: (current date)

This formula won't get tripped up by a 29-Feb (leap year) start date:
=MIN(DATE(YEAR(A1)+5,MONTH(A1)+{0,1},DAY(A1)*{1,0} ))

If today is 29-Feb-2000,
the formula returns: 28-Feb-2005
--------------------------

Regards,

Ron (XL2003, Win XP)
Microsoft MVP (Excel)


"mazalam" wrote in message
...
How can I add 5 yrs to an existing date using a formula?

Current Date Desired Date
09/25/2007 09/25/2012


Thanks for your time....





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
Adding date for filename Wins07 Excel Discussion (Misc queries) 2 July 31st 07 02:02 PM
Adding a month to a date I Maycotte Excel Discussion (Misc queries) 1 July 11th 06 07:15 PM
Adding a date to calender to automatially generate another date? Crystal Long Excel Worksheet Functions 1 January 3rd 06 10:19 PM
Adding a line after a date Mpls501sMan Excel Discussion (Misc queries) 1 June 23rd 05 09:59 PM
Adding a date and time Skip4t4 Excel Worksheet Functions 1 March 5th 05 05:37 PM


All times are GMT +1. The time now is 02:18 PM.

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

About Us

"It's about Microsoft Excel"