Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 258
Default 2nd Thursday of the month

I need a formula which:

if cell A1= the month (say 9 for September) and A2 = the year (say 2006)

it will return the date of the 2nd Thursday of the month.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default 2nd Thursday of the month

Hi Patrick,

Applying Chip Pearson's generic formula

( http://www.cpearson.com/excel/DateTimeWS.htm )

to your scenario, try:

=DATE(A2,A1,1+((2-(5=WEEKDAY(DATE(A2,A1,1))))*7)+(5-WEEKDAY(DATE(A2,A1,1))))


---
Regards,
Norman



"Patrick Simonds" wrote in message
...
I need a formula which:

if cell A1= the month (say 9 for September) and A2 = the year (say 2006)

it will return the date of the 2nd Thursday of the month.



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
1st and 3rd Thursday formula David Excel Discussion (Misc queries) 13 April 16th 18 09:29 PM
Friday thru Thursday JoeM[_3_] Excel Worksheet Functions 8 March 4th 10 07:32 PM
Display Monday or Thursday Deb Excel Worksheet Functions 9 January 29th 07 10:25 PM
how do i set date as 1st thursday of every month srpingbokiwi Excel Worksheet Functions 7 November 19th 06 07:05 PM
Message Box to appear Thursday midday! AJPendragon Excel Worksheet Functions 1 February 23rd 06 11:42 AM


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