LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Myrna Larson
 
Posts: n/a
Default

Put the first date in, say, A1. In B1 use this formula =EOMONTH(A1,0)+1 and
copy to the right. EOMONTH is part of the Analysis Tool Pack.

Your last point re going from Dec to Jan isn't really a problem. This formula
will still work, with the first date in A1, =DATE(YEAR(A1),MONTH(A1)+1,1).
That's because the 13th month of 2005 is January, 2006.



On Mon, 19 Sep 2005 14:11:07 -0700, BorisS
wrote:

I'd like to figure out a clever way to build a dynamic date heading row. I
need to enter the first month (1st of the month) and have the following
columns all be the 1st of the subsequent month. I know I can just add 31,
but that does't get me precisely to the 1st each time. I know I can do
date() using the previous column's data and adding 1 to month, but then I
have to IF for the case that I am hopping from December to Jan. Any other
way that is a function I don't know about?

 
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
2 digit year in dates return 19xx not 20xx moranbo Excel Discussion (Misc queries) 1 September 7th 05 01:44 AM
Using dates for x-axis values as string instead of creating a scale cs_weirdo Charts and Charting in Excel 2 June 17th 05 12:20 AM
Dynamic Range for Function (Vlookup etc) IshtiaqM Excel Worksheet Functions 4 March 27th 05 09:47 PM
Can't create dynamic charts Brian Sells Charts and Charting in Excel 7 March 22nd 05 04:23 AM
Formating Dates for production schedule dpl7579 Excel Discussion (Misc queries) 1 January 11th 05 08:43 PM


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