Teaser - How do these formulas work to calculate Easter dates?

Hawkeye249

New Member
Joined
Dec 14, 2017
Messages
4
=DOLLAR(("4/"&D16)/7+MOD(19*MOD(D16,19)-7,30)*14%,)*7-6
=FLOOR("5/"&DAY(MINUTE(D16/38)/2+56)&"/"&D16,7)-34

I copy/pasted these formulas from a worksheet where a year is typed into D16
and they return the date of Easter for that year.

They both work or worked in Excel - I think I was using 2003 at the time.
However, the first one does not work in the current version Libreoffice Calc.

I do not know how either of them work, and am curious.

Thanks in advance for looking. This is not a homework assignment or test question. (I'm 68 YO)
 

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Easter: first Sunday after the first full moon on or after the vernal equinox.

I'm still looking at the formulas, but you can get the first formula to work in LibreOffice with this modification:
=DOLLAR(DATE(D16,4,1)/7+MOD(19*MOD(D16,19)-7,30)*0.14,)*7-6
 
Upvote 0
I think the Western Christian churches use March 21 for the Vernal equinox, without regard to the actual equinox date.

From the Wikipedia article "Metonic cycle", https://en.wikipedia.org/wiki/Metonic_cycle:


'For astronomy and calendar studies, the Metonic cycle or Enneadecaeteris (from Ancient Greek: ἐννεακαιδεκαετηρίς, "nineteen years") is a period of very close to 19 years that is nearly a common multiple of the solar year and the synodic (lunar) month.'


So now we know the general reasoning for the number 19 in the first formula, and probably for the 38 in the second formula.
 
Upvote 0
I think the Western Christian churches use March 21 for the Vernal equinox, without regard to the actual equinox date.

From the Wikipedia article "Metonic cycle", https://en.wikipedia.org/wiki/Metonic_cycle:


'For astronomy and calendar studies, the Metonic cycle or Enneadecaeteris (from Ancient Greek: ἐννεακαιδεκαετηρίς, "nineteen years") is a period of very close to 19 years that is nearly a common multiple of the solar year and the synodic (lunar) month.'


So now we know the general reasoning for the number 19 in the first formula, and probably for the 38 in the second formula.

All of you young spreadsheet mechanics - behold the wisdom of ThisOldMan ...
 
Upvote 0
Good information, I didn't know about the Metonic cycle. It makes things a bit clearer. I had assumed that the formulas worked because someone found a function that closely emulates the cycle, and then found a clever way to use Excel functions to make it work. I had never bothered to exactly figure out how it worked.

However, I did assume that since it's just an approximation of the actual astronomical cycles, it wouldn't work in all cases. And such is the case. I tested it many years into the future and compared the results with the actual dates. It works pretty well, the first year that the formula fails is 2079. By checking for that year in the formula, like this:

=IF(Year=2079,65493,FLOOR("5/"&DAY(MINUTE(Year/38)/2+56)&"/"&Year,7)-34)

It is now accurate from 1900 until 2203, long after anyone reading this now is going to care! :eeek: If I recall my investigations, after that point, the formula starts being wrong more and more often.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,171
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top