Date calculation bug in Excel

John Dewey
New Contributor

1900 was not a leap year due to a special century rule in the Gregorian calendar, but Excel is not handling this rule correctly, causing issues when calculating dates as well as when converting spreadsheets using Microsoft.Office.Interop.Excel. Dates prior to 3/1/1900 are off by one day. Meanwhile MS SQL Server does handle these date rules correctly, as illustrated below:


Excel Date Calculation Issue.JPG

2 Replies
I am running Excel 2013 (15.1.5031.1000) 32 bit
Related Conversations
Average without #VALUE!
Crackeriano in Excel on
0 Replies
multiple same set columns
Jon_E1972 in Excel on
2 Replies
Struggling how to do a calculation
Tim_Jevans in Excel on
4 Replies
Novice6 in Excel on
1 Replies
Average set of values if 2 criteria are met
jtorrens in Excel on
1 Replies