#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Date lists

In Excel 2003 I wish to create a list where cell A1 contains a starting date
with a formula in cell A2 that has the same day in the next month same year
Cell A3 continues the list
e.g. A1 = 01/01/2009, A2=01/02/2009, A3=01/03/209
I have used the formula
=DATE(YEAR(year)+value1,MONTH(month)+value2,DAY(da y)+value3) as described in
various other ares BUT when the date in A1 is 31/01/2009, cell A2 displays
the date as 04/03/09.
The formula also need to show that if A1=31/01/2009, then A2=28/02/2009,
A3=31/03/2009.
Also need to account for leap years
All help appreciated.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Date lists

In A2:
=EDATE(A$1,ROW()-1)
and fill it down! Analysis Toolpak is required to use this function!

Regards,
Stefi

€˛Mokka€¯ ezt Ć*rta:

In Excel 2003 I wish to create a list where cell A1 contains a starting date
with a formula in cell A2 that has the same day in the next month same year
Cell A3 continues the list
e.g. A1 = 01/01/2009, A2=01/02/2009, A3=01/03/209
I have used the formula
=DATE(YEAR(year)+value1,MONTH(month)+value2,DAY(da y)+value3) as described in
various other ares BUT when the date in A1 is 31/01/2009, cell A2 displays
the date as 04/03/09.
The formula also need to show that if A1=31/01/2009, then A2=28/02/2009,
A3=31/03/2009.
Also need to account for leap years
All help appreciated.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Date lists

So easy!
Many Thanks

"Stefi" wrote:

In A2:
=EDATE(A$1,ROW()-1)
and fill it down! Analysis Toolpak is required to use this function!

Regards,
Stefi

€˛Mokka€¯ ezt Ć*rta:

In Excel 2003 I wish to create a list where cell A1 contains a starting date
with a formula in cell A2 that has the same day in the next month same year
Cell A3 continues the list
e.g. A1 = 01/01/2009, A2=01/02/2009, A3=01/03/209
I have used the formula
=DATE(YEAR(year)+value1,MONTH(month)+value2,DAY(da y)+value3) as described in
various other ares BUT when the date in A1 is 31/01/2009, cell A2 displays
the date as 04/03/09.
The formula also need to show that if A1=31/01/2009, then A2=28/02/2009,
A3=31/03/2009.
Also need to account for leap years
All help appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,646
Default Date lists

You are welcome! Thanks for the feedback!
Stefi

€˛Mokka€¯ ezt Ć*rta:

So easy!
Many Thanks

"Stefi" wrote:

In A2:
=EDATE(A$1,ROW()-1)
and fill it down! Analysis Toolpak is required to use this function!

Regards,
Stefi

€˛Mokka€¯ ezt Ć*rta:

In Excel 2003 I wish to create a list where cell A1 contains a starting date
with a formula in cell A2 that has the same day in the next month same year
Cell A3 continues the list
e.g. A1 = 01/01/2009, A2=01/02/2009, A3=01/03/209
I have used the formula
=DATE(YEAR(year)+value1,MONTH(month)+value2,DAY(da y)+value3) as described in
various other ares BUT when the date in A1 is 31/01/2009, cell A2 displays
the date as 04/03/09.
The formula also need to show that if A1=31/01/2009, then A2=28/02/2009,
A3=31/03/2009.
Also need to account for leap years
All help appreciated.

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
NetWorkDays - lists as Date?? Tom Excel Discussion (Misc queries) 4 January 15th 09 11:12 PM
LISTS- adding info without repeat to other lists Jemimastar Excel Discussion (Misc queries) 1 December 1st 06 09:29 PM
Lists referencing lists...is it possible? JohnB Excel Worksheet Functions 2 October 18th 06 06:37 PM
Multiple lists with repeated values for dependet drop down lists mcmanusb Excel Worksheet Functions 1 September 29th 06 12:13 AM
lists from other lists in excel Lew Excel Worksheet Functions 5 March 13th 06 07:21 PM


All times are GMT +1. The time now is 03:20 PM.

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"