Thanks Ron & Pete for replying
I was wanting to use it to calculate an unofficial holiday. The day is
Administrative Professionals Day (formerly Secretary's Day), and it is
celebrated on the last Wednesday of the last full week of April in the
USA (I'm not sure about other countries).
I know rhere are some calendars that show Monday as the start of the
full week and Sunday as the end. Other calendars show Sunday as the
start of the full week with Saturday as the end. I think the more
accepted/traditional calendars are the second example that I gave, but
I'm really unsure how one would truly declare it to figure this out. I
did think of a compromise of just leaving out Sunday, but I don't know
if that would just mess up the true day of the holiday date.
I don't know if that information/explanation helps Pete understand what
I was after, or changes what Ron gave me as a formula suggestion.
Ron, I'll give you suggestion a try today when I get to work. I'll check
back here again after work to see if either of you (or someone else) has
added something else.
Many thanks.
> With
> A1: (a date.....eg 02/15/2007)
[quoted text clipped - 32 lines]
>>
>> Thanks for any help.
Bernd P - 19 Dec 2007 13:27 GMT
Hello,
=DATE(YEAR(A1),5,0)-CHOOSE(WEEKDAY(DATE(YEAR(A1),5,0)),4,5,6,7,8,9,3)
Regards,
Bernd
Rick Rothstein (MVP - VB) - 19 Dec 2007 16:02 GMT
This will calculate that "holiday":
If A1 contains a date with or without the day...
=DATE(YEAR(A1),5,0)-MOD(DATE(YEAR(A1),5,0),7)-3
If A1 contains the year only...
=DATE(A1,5,0)-MOD(DATE(A1,5,0),7)-3
Rick
> Thanks Ron & Pete for replying
>
[quoted text clipped - 57 lines]
>>>
>>> Thanks for any help.