I am needing to calculate holidays that I can use as part of the workday function. I used the following formula for Thanksgiving but need help understanding what it is doing so I can calculate these other holidays.
=DATE(C2,11,1)+21+CHOOSE(WEEKDAY(DATE(C2,11,1)),4,3,2,1,0,6,5) --C2 is the year
Holidays Needed
President's Day (third monday in Feb)
Memorial Day (last Monday in May)
Labor Day (first Monday in Sept)
Thanksgiving (Fourth Thursday in Nov)
Day after Thanksgiving
=DATE(C2,11,1)+21+CHOOSE(WEEKDAY(DATE(C2,11,1)),4,3,2,1,0,6,5) --C2 is the year
Holidays Needed
President's Day (third monday in Feb)
Memorial Day (last Monday in May)
Labor Day (first Monday in Sept)
Thanksgiving (Fourth Thursday in Nov)
Day after Thanksgiving