Robert, You are going to have problems going back that far, because although the Gregorian calendar was adopted in many countries as early as 1582, Britain and America didn't switch until 1752. In order to synchronise, 11 days we dropped in September of that year. Ray ------------------------------------ GR Business Process Solutions Ray Blake Head of Software Design ray@xxxxxxxxx Braedon Newell Road Hemel Hempstead Herts HP3 9PD tel: 01442 396518 fax: 01442 389353 mobile: 07834 226601 www.grbps.com ------------------------------------ -----Original Message----- From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx] On Behalf Of Robert Carneal Sent: 14 December 2005 04:57 To: mso@xxxxxxxxxxxxx Subject: [mso] Re: Determining leap year in Excel 2000 Ok, got it. After doing it on paper about 30 times, I think I can claim I understand it. My last question, does this approach work for all years? Say year 650 for example? What's the cutoff if any? (Please don't say 1900!) My dates (genealogy) go back to 1652, so let's assume I want to go back to year 1550 or thereabouts. Thank you for your time. Robert -----Original Message----- From: mso-bounce@xxxxxxxxxxxxx [mailto:mso-bounce@xxxxxxxxxxxxx]On Behalf Of Andrew the Owl Sent: 2005-12-13 20:22 To: mso@xxxxxxxxxxxxx Subject: [mso] Re: Determining leap year in Excel 2000 Robert, In the Gregorian calendar, leap years fall on any year that either can be evenly divided by 400 or evenly divided by 4 and not evenly divided by 100. 1900 was not a leap year but 2000 was. In other words: IF [A]Year is exactly divisible by 400 OR ([B]Year is exactly divisible by 4 AND [C]Year is not exactly divisible by 100) ... for Year = 1900, [A] is false, [B] is true and [C] is false. ([B] AND [C]) evaluates to false and ([A] OR false) evaluates to false. Your formula is correct :) (The Eastern Orthodox churches compute leap years by using another rule; that a leap year is any year which number can be divided by 4 without a remainder, and years ending in hundreds are leap years if a remainder of 2 or 6 occurs when such a year is divided by 9. A nice little puzzle to keep for after Christmas dinner!) Andrew ************************************************************* You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or MicrosoftOffice@xxxxxxxxxxxxxxxx To send mail to the group, simply address it to mso@xxxxxxxxxxxxx To Unsubscribe from this group, send an email to mso-request@xxxxxxxxxxxxx with the word "unsubscribe" (without the quotes) in the subject line. Or, visit the group's homepage and use the dropdown menu. This will also allow you to change your email settings to digest or vacation (no mail). //www.freelists.org/webpage/mso To be able to use the files section for sharing files with the group, send a request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with instructions. Once you are a member of the files group, you can go here to upload/download files: http://www.smartgroups.com/vault/msofiles *************************************************************