Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 01-06-2018, 08:05 AM
ljtjr ljtjr is offline February 29, 1900 bug in Excel 2011 for Mac Mac OS X February 29, 1900 bug in Excel 2011 for Mac Office 2011 for Mac
Novice
February 29, 1900 bug in Excel 2011 for Mac
 
Join Date: Jan 2018
Posts: 7
ljtjr is on a distinguished road
Default February 29, 1900 bug in Excel 2011 for Mac

Excel 2011 for Mac gives a date for February 29, 1900. But there is no such date because 1900 was not a leap year (not an integer multiple of 400). The WEEKDAY() function says 2/29/1900 was a Wednesday whereas it was 2/28/1900 that was a Wednesday. Further checking shows that all WEEKDAY() functions for January and February of 1900 are correspondingly off by one day, e.g. 1/1/1900 was actually a Monday, not a Sunday as Excel says. That one-day shift allows 3/1/1900 to be correctly designated as a Thursday, as are all subsequent dates. However, the insertion of 2/29/1900 throws off by one the date-sequence numbers used in calculations for all dates after 2/28/1900. The problem is a mistake rather than a misunderstanding because other centennial years that are not leap years are handled correctly. I conjecture that the problem arose when the 1900 date system for Macs was added to the 1904 system to achieve compatibility with Excel for Windows. But for true compatibility, wouldn't the Windows version need to harbor the same mistake?

I'm wondering if this bug was ever fixed in Excel 2016 for Mac. Is it present only in Excel 2011 for Mac or is it present also in any of the Windows versions as well? I don't have access to Windows machines. It's hard to believe that for an app as widely used as Excel that this is not a known flaw, although I failed to find mention of it in this forum (but I'm new here and not facile with searching). I've kept up with upgrades for Excel 2011 and the bug persists, so I suspect Microsoft has chosen to ignore it. That would be a sad departure from the care that seems to have been taken with Excel to insure correctness otherwise.
Reply With Quote
  #2  
Old 01-06-2018, 08:32 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline February 29, 1900 bug in Excel 2011 for Mac Windows 7 64bit February 29, 1900 bug in Excel 2011 for Mac Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Hi
perhaps this will help

https://support.microsoft.com/en-us/...ystem-in-excel
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #3  
Old 01-06-2018, 11:09 AM
ArviLaanemets ArviLaanemets is offline February 29, 1900 bug in Excel 2011 for Mac Windows 8 February 29, 1900 bug in Excel 2011 for Mac Office 2016
Expert
 
Join Date: May 2017
Posts: 932
ArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant futureArviLaanemets has a brilliant future
Default

This is an old and known issue. I'm not sure, it started with MS Office or it was adopted from some it's predecessor, but from start on the leap year in 1900 was incorrect. And it was knowingly not corrected afterwards, to keep continuity. So when you need to operate dates before 01.04.1900, you have take it into account yourself.
Reply With Quote
  #4  
Old 01-06-2018, 09:19 PM
ljtjr ljtjr is offline February 29, 1900 bug in Excel 2011 for Mac Mac OS X February 29, 1900 bug in Excel 2011 for Mac Office 2011 for Mac
Novice
February 29, 1900 bug in Excel 2011 for Mac
 
Join Date: Jan 2018
Posts: 7
ljtjr is on a distinguished road
Default

Perpetuating a flaw for the sake of "continuity" strikes me as a weak rationalization. My impression form your response is that the Windows versions suffer from the same disease. Is that correct?
Reply With Quote
  #5  
Old 01-06-2018, 09:11 PM
ljtjr ljtjr is offline February 29, 1900 bug in Excel 2011 for Mac Mac OS X February 29, 1900 bug in Excel 2011 for Mac Office 2011 for Mac
Novice
February 29, 1900 bug in Excel 2011 for Mac
 
Join Date: Jan 2018
Posts: 7
ljtjr is on a distinguished road
Default

The observed misbehavior is not related to the differences between the 1900 and 1904 date systems. It's just the 1900 system that's flawed. But thanks for responding.
Reply With Quote
  #6  
Old 01-06-2018, 11:41 AM
xor xor is offline February 29, 1900 bug in Excel 2011 for Mac Windows 10 February 29, 1900 bug in Excel 2011 for Mac Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

https://www.joelonsoftware.com/2006/...-billg-review/
Reply With Quote
  #7  
Old 01-06-2018, 11:50 PM
ljtjr ljtjr is offline February 29, 1900 bug in Excel 2011 for Mac Mac OS X February 29, 1900 bug in Excel 2011 for Mac Office 2011 for Mac
Novice
February 29, 1900 bug in Excel 2011 for Mac
 
Join Date: Jan 2018
Posts: 7
ljtjr is on a distinguished road
Default

Joel, thank you so much for directing me to your narrative, "My First BillG Review." It seems plausible that Lotus may have been the historical origin of the flaw that troubled me. You may think me "anal," but cheating on the leap-year algorithm to save memory seems to me to be irresponsible. I've been retired for more than 20 years so I'm aware that I'm out of touch with current practices. Back in the mid 1960's I was into biomedical computing which included in the early 1970s some systems for critical care of patients. Our computers (the LINC and its derivatives) initially had 1K of 12-bit magnetic-core memory. When they were expanded to 2K we wondered what we'd do with all that memory. Yes, memory was at a premium, but as lives depended on it, the highest priority was on exact and reliable correctness of the assembly-language programs without compromise. Hence my mindset.

You report the suggestion that an intentional bug is not really a bug. For me, an intentional bug is the worst kind, an unconscionable bug. I had imagined that what seems to be perpetuated sloppiness would have been fixed by now. It was Laurence J. Peter who observed, "Computers magnify the confusion of their users." Maybe that should be modified to ...magnify and perpetuate... So ends my rant. As a result of your response I now regard my questions as "solved." Thank you.
Reply With Quote
  #8  
Old 01-07-2018, 01:45 AM
Pecoflyer's Avatar
Pecoflyer Pecoflyer is offline February 29, 1900 bug in Excel 2011 for Mac Windows 7 64bit February 29, 1900 bug in Excel 2011 for Mac Office 2010 64bit
Expert
 
Join Date: Nov 2011
Location: Brussels Belgium
Posts: 2,920
Pecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond reputePecoflyer has a reputation beyond repute
Default

Quote:
Originally Posted by ljtjr View Post
As a result of your response I now regard my questions as "solved." Thank you.
Then please mark it as such
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post
Reply With Quote
  #9  
Old 01-06-2018, 10:59 PM
xor xor is offline February 29, 1900 bug in Excel 2011 for Mac Windows 10 February 29, 1900 bug in Excel 2011 for Mac Office 2016
Expert
 
Join Date: Oct 2015
Posts: 1,100
xor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to allxor is a name known to all
Default

Windows versions (as from Excel 2.0 where the 1900 date system was introduced) suffer from the same intentional error (I would call it).

https://support.microsoft.com/en-gb/...is-a-leap-year
Reply With Quote
  #10  
Old 01-07-2018, 12:19 AM
ljtjr ljtjr is offline February 29, 1900 bug in Excel 2011 for Mac Mac OS X February 29, 1900 bug in Excel 2011 for Mac Office 2011 for Mac
Novice
February 29, 1900 bug in Excel 2011 for Mac
 
Join Date: Jan 2018
Posts: 7
ljtjr is on a distinguished road
Default

Yes, that's as I surmised. See my response to macropod.
Reply With Quote
  #11  
Old 01-06-2018, 11:09 PM
macropod's Avatar
macropod macropod is offline February 29, 1900 bug in Excel 2011 for Mac Windows 7 64bit February 29, 1900 bug in Excel 2011 for Mac Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,371
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

As the link provided by xor explains, the issue arose because, when Excel was introduced, Lotus 123 was the dominant spreadsheet program and Microsoft was more or less obliged to replicate the bug so as to be able to work with Lotus worksheets and vice-versa. Having done that, later versions of Excel likewise have had to maintain the bug for backwards compatibility. Correcting the bug could cause data loss and/or calculation errors in a wide range of workbooks with severe financial implications. Furthermore, if Microsoft were to correct the 1900 leap-year 'bug' in Excel, that would immediately make it incompatible with every other worksheet program out there, all of which have the same bug and for essentially the same reasons.

You might think Microsoft's reasons are weak - but just look at the furore that's been created by Apple doing something as innocuous as reducing processor performance on devices using old batteries... Somehow, I doubt Microsoft wants to be bankrupted for having the temerity to fix a long-documented, historical, bug that wasn't of its own design.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #12  
Old 01-07-2018, 12:13 AM
ljtjr ljtjr is offline February 29, 1900 bug in Excel 2011 for Mac Mac OS X February 29, 1900 bug in Excel 2011 for Mac Office 2011 for Mac
Novice
February 29, 1900 bug in Excel 2011 for Mac
 
Join Date: Jan 2018
Posts: 7
ljtjr is on a distinguished road
Default

OK, you guys win. The message I take from this is that for practical reasons, carelessness and/or ignorance can have long term consequences. Accordingly, it's important to get it right the first time. This aged purist will now slink away. OK?
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
February 29, 1900 bug in Excel 2011 for Mac Excel 2011 for apple mac denisethetutor@gmail.com Excel 1 05-12-2015 09:57 AM
excel 2011 vs 2010 kharrington82 Excel 0 03-17-2015 03:52 PM
Excel 2008 vs Excel 2011 for Mac nfotx Excel 0 12-05-2014 03:48 PM
February 29, 1900 bug in Excel 2011 for Mac Is it possible to transfer my Excel 2011 for MAC to another MAC Dalesman Office 4 12-04-2014 02:51 AM
February 29, 1900 bug in Excel 2011 for Mac Excel 2011 can't open old Excel 98 or Excel X files FLJohnson Excel 8 05-09-2012 11:26 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 08:33 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft