Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Daniel Bonallack
 
Posts: n/a
Default List of start of months

I would like to be able to put a date in Cell A1 (say April 18, 2005)

Then, after recalculating, in cells B1:B24 would be:
03/01/05
02/01/05
01/01/05
12/01/04
etc
- in other words, the first of the month going back 24 months.

Can someone give me a formula for this?

Thanks!
Daniel
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

One way

in B1 put

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

in B2

=DATE(YEAR(B1),MONTH(B1)-1,1)

copy down

or in B1

=DATE(YEAR($A$1),MONTH($A$1)-ROW(B1),1)

copy down



Regards,

Peo Sjoblom

"Daniel Bonallack" wrote:

I would like to be able to put a date in Cell A1 (say April 18, 2005)

Then, after recalculating, in cells B1:B24 would be:
03/01/05
02/01/05
01/01/05
12/01/04
etc
- in other words, the first of the month going back 24 months.

Can someone give me a formula for this?

Thanks!
Daniel

  #3   Report Post  
Daniel Bonallack
 
Posts: n/a
Default

Thank you very much!

Daniel


"Peo Sjoblom" wrote:

One way

in B1 put

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

in B2

=DATE(YEAR(B1),MONTH(B1)-1,1)

copy down

or in B1

=DATE(YEAR($A$1),MONTH($A$1)-ROW(B1),1)

copy down



Regards,

Peo Sjoblom

"Daniel Bonallack" wrote:

I would like to be able to put a date in Cell A1 (say April 18, 2005)

Then, after recalculating, in cells B1:B24 would be:
03/01/05
02/01/05
01/01/05
12/01/04
etc
- in other words, the first of the month going back 24 months.

Can someone give me a formula for this?

Thanks!
Daniel

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
Pull Current Month's Data Out of List - Repost Karl Burrows Excel Discussion (Misc queries) 4 May 3rd 05 01:06 AM
how to create a dynamic descending list of months & years marika1981 Excel Discussion (Misc queries) 6 February 19th 05 03:57 AM
Refresh a Validation List? jhollin1138 Excel Discussion (Misc queries) 3 February 17th 05 05:48 PM
Extracting Values on one list and not another B Schwarz Excel Discussion (Misc queries) 4 January 7th 05 01:48 PM
Inserting Blank Rows Macro? Michael Saffer Excel Worksheet Functions 2 November 9th 04 06:23 PM


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