Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
agarwaldvk
 
Posts: n/a
Default Finding the date on the 'nth' Monday in this Month in this Year


Hi Everybody

If I have a need to find out the date on say the 1st Sunday of July
2006 or for that matter, the 'nth' say Monday in a specified month in a
specified year, is there a way I can find it out using front end Excel?


Best regards


Deepak Agarwal


--
agarwaldvk
------------------------------------------------------------------------
agarwaldvk's Profile: http://www.excelforum.com/member.php...o&userid=11345
View this thread: http://www.excelforum.com/showthread...hreadid=533563

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Peo Sjoblom
 
Posts: n/a
Default Finding the date on the 'nth' Monday in this Month in this Year

Taken straight from the date function master Daniel Maher ,

"
=DATE(YR,Mth,1+7*Nth)-WEEKDAY(DATE(YR,Mth,8-DOW))

For the second Friday of Mar 2003:
YR= 2003
Mth= 3
DOW= 6 ' cause Sunday =1, Monday =2, ..., Saturday = 7
Nth= 2


When Nth=5, you need to do a test if the specific month has 5 DOW."


--

Regards,

Peo Sjoblom

http://nwexcelsolutions.com






"agarwaldvk" wrote
in message ...

Hi Everybody

If I have a need to find out the date on say the 1st Sunday of July
2006 or for that matter, the 'nth' say Monday in a specified month in a
specified year, is there a way I can find it out using front end Excel?


Best regards


Deepak Agarwal


--
agarwaldvk
------------------------------------------------------------------------
agarwaldvk's Profile:
http://www.excelforum.com/member.php...o&userid=11345
View this thread: http://www.excelforum.com/showthread...hreadid=533563



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
a Month to Date and Year TD page in one sheet changing each day? Mark A. Fresh Excel Discussion (Misc queries) 1 January 5th 06 10:59 AM
add month to date oomyoo Excel Worksheet Functions 3 December 2nd 05 09:51 PM
Finding people born in a given month or after a given year Watercolor artist Excel Worksheet Functions 1 September 19th 05 05:02 PM
Finding min and max date of a given month Caro-Kann Defence Excel Worksheet Functions 2 May 13th 05 06:33 PM
Lookup the month in a date string 01/03/05 Una Excel Worksheet Functions 1 March 30th 05 09:45 AM


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