ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Labor day formula (https://www.excelbanter.com/excel-discussion-misc-queries/98810-labor-day-formula.html)

Richard

Labor day formula
 
Does Labor day fall on the first Monday of September? If so how would you
write that formula? Thanks in advance!!!

Ardus Petus

Labor day formula
 
If your assumption is true (which I don't know),
Say A1 holds 1/9/2006
=A1+MOD(7-WEEKDAY(A1,3),7)
will return first monday of september

HTH
--
AP

"Richard" a écrit dans le message de
news: ...
Does Labor day fall on the first Monday of September? If so how would you
write that formula? Thanks in advance!!!




Kevin B

Labor day formula
 
The following formula should do the trick. It verifies that the day of the
week is a Monday, the month is September and the day of the month is less
than 8. The example below assumes that the date being evaluated is in cell
A1:

=IF(AND(WEEKDAY(A1)=2,DAY(A1)<=8,MONTH(A1)=9),TRUE ,FALSE)
--
Kevin Backmann


"Richard" wrote:

Does Labor day fall on the first Monday of September? If so how would you
write that formula? Thanks in advance!!!


JLatham

Labor day formula
 
To find when various federal holidays are observed, see this set of 'rules'.
There are 10 fed holidays, 4 are on fixed dates, 6 are variable. When a
federal holiday falls on Saturday, it is observed on the Friday before. When
it falls on a Sunday, it's observed on the Monday following.

http://aa.usno.navy.mil/faq/docs/holidays.html

"Richard" wrote:

Does Labor day fall on the first Monday of September? If so how would you
write that formula? Thanks in advance!!!



All times are GMT +1. The time now is 05:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com