#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default automating months

is there a way to automate the dates for months in excell, e.g from the 1st
monday in a month to the last friday?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,101
Default automating months

put the first couple of dates in and then select the range. The edit - fill -
series and select weekday.

Will that do?

Mike

"Gunthar68" wrote:

is there a way to automate the dates for months in excell, e.g from the 1st
monday in a month to the last friday?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default automating months

usefull but i need more of a "1/3/7-30/3/7" sort of thing:)
Gunthar


"Mike" wrote:

put the first couple of dates in and then select the range. The edit - fill -
series and select weekday.

Will that do?

Mike

"Gunthar68" wrote:

is there a way to automate the dates for months in excell, e.g from the 1st
monday in a month to the last friday?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 623
Default automating months

Specifying "sort of thing" is not designed to get you very useful results. When
you tell people exactly what you want, you will get an answer.

--
Regards,
Fred


"Gunthar68" wrote in message
...
usefull but i need more of a "1/3/7-30/3/7" sort of thing:)
Gunthar


"Mike" wrote:

put the first couple of dates in and then select the range. The edit - fill -
series and select weekday.

Will that do?

Mike

"Gunthar68" wrote:

is there a way to automate the dates for months in excell, e.g from the 1st
monday in a month to the last friday?



  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default automating months

cheers fred ) what i need is: an automated routine to write in the 1st
working day and the last working day of each month e.g. "1/3/7 - 30/3/7" for
each month. dont know if it's possible, mikes suggestion was very usefull for
calculating each working day that month bu i need a broader spectrum so a
report can be generated for each month. cheers Gunthar.

"Fred Smith" wrote:

Specifying "sort of thing" is not designed to get you very useful results. When
you tell people exactly what you want, you will get an answer.

--
Regards,
Fred


"Gunthar68" wrote in message
...
usefull but i need more of a "1/3/7-30/3/7" sort of thing:)
Gunthar


"Mike" wrote:

put the first couple of dates in and then select the range. The edit - fill -
series and select weekday.

Will that do?

Mike

"Gunthar68" wrote:

is there a way to automate the dates for months in excell, e.g from the 1st
monday in a month to the last friday?






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 623
Default automating months

There may be better ways, but one solution is:

A1: Date with month in question
A2: =date(year(a1),month(a1),1) [First day in month]
A3: =date(year(a1),month(a1)+1,0) [Last day in month]
A4: =a2+choose(mod(a2,7)+1,2,1,0,0,0,0,0) [First working day of month]
A5: =a3-choose(mod(a2,7)+1,1,2,0,0,0,0,0) [Last working day of month}
A6: =text(a4,"dd/mm/yy")&" - "&text(a5,"dd/mm/yy")

--
Regards,
Fred


"Gunthar68" wrote in message
...
cheers fred ) what i need is: an automated routine to write in the 1st
working day and the last working day of each month e.g. "1/3/7 - 30/3/7" for
each month. dont know if it's possible, mikes suggestion was very usefull for
calculating each working day that month bu i need a broader spectrum so a
report can be generated for each month. cheers Gunthar.

"Fred Smith" wrote:

Specifying "sort of thing" is not designed to get you very useful results.
When
you tell people exactly what you want, you will get an answer.

--
Regards,
Fred


"Gunthar68" wrote in message
...
usefull but i need more of a "1/3/7-30/3/7" sort of thing:)
Gunthar


"Mike" wrote:

put the first couple of dates in and then select the range. The edit -
fill -
series and select weekday.

Will that do?

Mike

"Gunthar68" wrote:

is there a way to automate the dates for months in excell, e.g from the
1st
monday in a month to the last friday?






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 months to dates should account for 28-30-31 day months Graham Excel Worksheet Functions 3 February 1st 06 12:06 PM
Add # of months and get result last day of # months. BDP Excel Discussion (Misc queries) 2 January 25th 06 03:51 AM
Automating using VBA Automate my database Excel Worksheet Functions 1 September 1st 05 01:51 PM
converting months to years and months??? Marty Excel Discussion (Misc queries) 1 February 18th 05 02:38 AM
How do i change 15 months to read 1 year and 3 months? Marty Excel Discussion (Misc queries) 1 February 17th 05 11:21 PM


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