![]() |
#1
|
|||
|
|||
![]()
Attached is a group of formulas for US holidays that I found on the web a long time ago. (Though I did write the DST ones myself
![]() I've found 2 different formulas (on the web) that will calculate Easter. Code:
=DOLLAR(("4/"&theyear)/7+MOD(19*MOD(theyear,19)-7,30)*14%,)*7-6 =ROUND(DATE(theyear,4,MOD(234-11*MOD(theyear,19),30))/7,0)* 7-6 Something like "the second Sunday of March" can be systematically figured out, since there are only 7 possible permutations of what a "March" month can look like... But Easter is based on the full moon! As I found on the web: Quote:
I hand-checked for the next 10 Easters, and both of these formulas appeared to yield correct results... |
Thread Tools | |
Display Modes | |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
heathkat | Word VBA | 2 | 05-28-2018 08:15 PM |
![]() |
BarryB | Project | 3 | 04-19-2016 07:43 AM |
Microsoft Project holiday integration | jeccles123 | Project | 4 | 03-22-2015 01:42 PM |
![]() |
pmjunkie | Project | 3 | 12-14-2011 09:08 AM |
Calender month view peeve - display high priority over low priority appts? | ghumdinger | Outlook | 0 | 07-25-2011 03:56 AM |