Excel 2007 Stricken with Bizarre Calculation Bug

Wed Sep 26, 2007 11:38AM EDT

See Comments (7)

Front and center in any "working guy" software arsenal is Microsoft Excel, the spreadsheet that's become a de facto industry standard. Earlier this week, reports surfaced of a strange error in Excel 2007 which caused calculations involving the number 65,535 (and thereabouts) to return wildly inaccurate results.

You can try it for yourself in Excel by multiplying 850 by 77.1. Excel will return 100,000 instead of 65,535. Similar operations that should return 65,535 will also come back incorrect, and there's a problem with 65,536, too. The problem is only present in Excel 2007; earlier versions of Excel are not affected.

Microsoft has traced the problem back to a floating point issue and how results are displayed within a cell in Excel. Microsoft says the calculation is actually done correctly, it's just that when it comes time to show the result on screen, Excel chokes. For example, if you multiply that "100,000" above by 2 and put the answer in a new cell, you'll get 131,070, not 200,000. However, this isn't reliable either: Try adding one and you get 100,001, not 65,536.

Microsoft says a fix is on the way and is in the final stages of testing. I'll update this post when the patch is available; hopefully Windows Update will also push it down automatically. We'll see. 

UPDATE: The fix is now available here. 

LINK: Calculation Issue Update 

Comments on Excel 2007 Stricken with Bizarre Calculation Bug

Post a Comment

Join in the discussion. Here you'll see the comments in the order they were posted.

  • 1 Posted by collarncuffsboy on Thu Sep 3, 2009 3:28PM EDT Report Abuse

    That is wierd. I use Excel everyday at work and at home. I do huge payment calculations. Fortunately I dont think I have ever had this come up. I just tried other calculations to get a result of 65535, and they came up fine.

  • 2 Posted by jairaj on Thu Sep 3, 2009 4:27PM EDT Report Abuse

    To my colleagues: Any errors on my excel sheet are officially not my fault. This covers both 65,535 and other numbers. A fix is forthcoming but please don't hold your breath.

  • 3 Posted by rogueist on Thu Sep 3, 2009 8:49PM EDT Report Abuse

    This may actually be an Intel processor issue and not an Excel issue. Cant stand processors that cant add up 1+1 and come up with 2 for an answer...

  • 4 Posted by cnull on Thu Sep 3, 2009 3:27PM EDT Report Abuse

    rogueist - this has been identified by Microsoft as a software bug and it affects all CPUs

  • 5 Posted by fjcamp2002 on Thu Sep 3, 2009 4:00PM EDT Report Abuse

    I just tried this on my old copy of Excel 2003 at home, no problem. But thanks for pointing this out cnull, I've not seen this mentioned anywhere else. I'll try it on 2007 at work tomorrow!

  • 6 Posted by maif17 on Thu Sep 3, 2009 7:03PM EDT Report Abuse

    It might be interesting to note that for anyone who has done an data import into Excel ... 65,536 is also the maximum number of rows an Excel spreadsheet can have. Hmmm ... coincidence?

  • 7 Posted by jurat05 on Thu Sep 3, 2009 4:44PM EDT Report Abuse

    65,536 = 256 * 256 256 = 2^8 (2*2*2*2*2*2*2*2) or it is some kind of cruical number of Binary system on which, simply, our computers work.

More Posts: First Prev 1 2 Next Last

Post a Comment