
Originally Posted by
mcinnes01
Hi squiggler,
Thanks for the help, I am just putting the change event in now. With regards to the easeter calculation, a beast as it is, it uses a very complex calculation that predicts easter as far in to the future as can be imagined. With out going too far in to it easter calcs are based on lunisolar cycles. The set of bank holiday calcs I have collected I feel accurately calculate the dates please feel free to use them if you like!
The calculation given is accurate up to 2099, this one is accurate for all years within the excel date system,it was written by me from the gaussian formula :-
DATE(YEAR,3,28)+((MOD(INT(YEAR/100)-INT(INT(YEAR/100)/4)-INT((8*INT(YEAR/100)+13)/25)+19*MOD(YEAR,19)+15,30)-INT(MOD(INT(YEAR/100)-INT(INT(YEAR/100)/4)-INT((8*INT(YEAR/100)+13)/25)+19*MOD(YEAR,19)+15,30)/28)*(1-INT(29/(MOD(INT(YEAR/100)-INT(INT(YEAR/100)/4)-INT((8*INT(YEAR/100)+13)/25)+19*MOD(YEAR,19)+15,30)+1))*INT((21-MOD(YEAR,19))/11)))-MOD(YEAR+INT(YEAR/4)+(MOD(INT(YEAR/100)-INT(INT(YEAR/100)/4)-INT((8*INT(YEAR/100)+13)/25)+19*MOD(YEAR,19)+15,30)-INT(MOD(INT(YEAR/100)-INT(INT(YEAR/100)/4)-INT((8*INT(YEAR/100)+13)/25)+19*MOD(YEAR,19)+15,30)/28)*(1-INT(29/(MOD(INT(YEAR/100)-INT(INT(YEAR/100)/4)-INT((8*INT(YEAR/100)+13)/25)+19*MOD(YEAR,19)+15,30)+1))*INT((21-MOD(YEAR,19))/11)))+2-INT(YEAR/100)+INT(INT(YEAR/100)/4),7))
Bookmarks