#1   Report Post  
Posted to microsoft.public.excel.misc
Chilliputt
 
Posts: n/a
Default set month end

Hi. I need a function to customize month end to the last Friday of each
month. So for December 2005, the start date would be (A1) 11-26-05, and the
end date would be (A2) 12-30-05. I want to autofill the dates that fall
within this range down starting in A3.

Any thoughts?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Search33
 
Posts: n/a
Default set month end

=IF(MONTH(A2+28)=MONTH(A2+35),A2+35,A2+28)

There will be either 4 weeks(28 days) or 5 weeks (35 days) between month end.
so if 4 weeks later is in the same month as 5 weeks later, then it is 5
weeks, if they're different, it's 4 weeks.

- Search


"Chilliputt" wrote:

Hi. I need a function to customize month end to the last Friday of each
month. So for December 2005, the start date would be (A1) 11-26-05, and the
end date would be (A2) 12-30-05. I want to autofill the dates that fall
within this range down starting in A3.

Any thoughts?

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
Working days left in the month compared to previous months qwopzxnm Excel Worksheet Functions 8 October 24th 05 08:00 PM
formula: First and last day in month Zbigniew Lewandowski Excel Worksheet Functions 6 October 16th 05 04:51 AM
Referencing data in different worksheet based on month name cosmo_canuck Excel Worksheet Functions 3 August 22nd 05 07:27 AM
Month Year Date Format Jamie Excel Worksheet Functions 2 February 7th 05 06:43 PM
How to extract month number from month name PM Excel Discussion (Misc queries) 2 January 19th 05 03:07 PM


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