#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
MIchel Khennafi
 
Posts: n/a
Default Date calculation

Good morning,

I am working on a spreadsheet where I need to determine a future date based
on a date I entered

For Instance:
- In A1, I enter Feb 2, 2006
- In A2 I would like to automatically determine the end date Feb 1, 2007 (12
months after)
- In A3, I would like to automaticall determine another end date Feb 1, 2008
(24 months after)

Is there a way to do so without having to care about the number of days in
between 2 dates? I would like to avoid the very simple A2=A1+ 365days...
Especially when the number of days vary from one year to the other (leap
years)

Thanks

Michel


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Date calculation

In A2

=DATE(YEAR(A1)+1,MONTH(A1),1)

copy down


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com


"MIchel Khennafi" wrote in message
...
Good morning,

I am working on a spreadsheet where I need to determine a future date
based on a date I entered

For Instance:
- In A1, I enter Feb 2, 2006
- In A2 I would like to automatically determine the end date Feb 1, 2007
(12 months after)
- In A3, I would like to automaticall determine another end date Feb 1,
2008 (24 months after)

Is there a way to do so without having to care about the number of days in
between 2 dates? I would like to avoid the very simple A2=A1+ 365days...
Especially when the number of days vary from one year to the other (leap
years)

Thanks

Michel



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Zenaida
 
Posts: n/a
Default Date calculation


Try

=SUM(A1+M12)

=SUM(A1+M24)


--
Zenaida


------------------------------------------------------------------------
Zenaida's Profile: http://www.excelforum.com/member.php...o&userid=33802
View this thread: http://www.excelforum.com/showthread...hreadid=536882

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Loomah
 
Posts: n/a
Default Date calculation

Hi
You could also have a look at the EDATE function in the Analysis Toolpak if
you are dealing in months

Rgds, Loomah

"MIchel Khennafi" wrote in message
...
Good morning,

I am working on a spreadsheet where I need to determine a future date
based on a date I entered

For Instance:
- In A1, I enter Feb 2, 2006
- In A2 I would like to automatically determine the end date Feb 1, 2007
(12 months after)
- In A3, I would like to automaticall determine another end date Feb 1,
2008 (24 months after)

Is there a way to do so without having to care about the number of days in
between 2 dates? I would like to avoid the very simple A2=A1+ 365days...
Especially when the number of days vary from one year to the other (leap
years)

Thanks

Michel



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
Need help with a date calculation jr100 Excel Discussion (Misc queries) 2 February 8th 06 06:47 PM
Date Calculation to exclude weekends Vim Excel Worksheet Functions 2 January 24th 06 02:58 PM
Calculation based with Range of Date Rao Ratan Singh New Users to Excel 1 January 24th 06 09:05 AM
search for latest date Sue Excel Worksheet Functions 2 August 2nd 05 11:09 PM
Due Date Calculation? Randy New Users to Excel 11 July 14th 05 07:44 PM


All times are GMT +1. The time now is 12:39 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"