September 26, 2007 1:24 PM PDT

Microsoft: Excel 2007 bug is skin deep

A bug in Excel 2007 reported earlier this week may be ugly, but it's only skin deep, Microsoft said late Tuesday.

With the bug, results that should have been shown as 65,535 showed instead as 100,000, and a related problem cropped up with 65,536, Microsoft's David Gainer said in a blog posting. But the problem affected how Excel showed the number, not in what the spreadsheet software actually "knows."

"This is an issue in a function that puts numbers in cells, so the values in Excel's memory are actually correct," Gainer said. "Any calculations based off that cell will be accurate too."

That's still a problem, of course, but it might be comforting to know that it's not as likely to creep outward from one result to the next.

A repair is in testing now. "We've come up with a fix for this issue and are in the final phases of a broad test pass in order to ensure that the fix works and doesn't introduce any additional issues--especially any other calculation issues," Gainer said. "This fix then needs to make its way through our official build lab and onto a download site--which we expect to happen very soon."

He didn't try to downplay the problem, as Intel once famously did with the FDIV calculation bug in some early Pentium processors, but he did indicate it's not widespread. "Of the 9.214*10^18 different floating-point numbers that Excel 2007 can store, there are 6 floating-point numbers (using binary representation) between 65534.99999999995 and 65535, and 6 between 65535.99999999995 and 65536 that cause this problem," Gainer said.

Floating-point numbers are those described with two components--the first between 1 and 10 and the second an exponent of the power of 10. So, for example, 2.6^10*2 is 2.6 * 100, or 260.

Recent posts from Underexposed
Firefox add-on infected with Trojan remnant
Linux video project evades DMCA, back on Google Code
Google: Unicode conquers ASCII on the Web
Google yanks open-source project after copyright complaint
Adobe toys with standardizing DNG raw photo format
Add a Comment (Log in or register) 14 comments (Page 1 of 1)
Bug is NOT only skin deep
by news reader September 26, 2007 8:33 PM PDT
The Microsoft blog was misleading. It's true that if you type "=850*77.1" into a cell, then the bug will only be in how it's displayed, but not how it's stored in memory. But if you type "=round(850*77.1)" into a cell, then the wrong value will actually, truly be in memory. It will propagate to other cells. It will affect sums and averages that you calculate. This bug is NOT only "skin deep".
Reply to this comment View all 2 replies
They Let balmer code these days?
by MacHeads September 26, 2007 11:30 PM PDT
Would explain some errors. http://www.youtube.com/watch?v=BZDVKLESNXg
Reply to this comment
On second thought
by MacHeads September 26, 2007 11:36 PM PDT
Nahhh ... can it be the software that has been used to estimate vista's actual users ? Can it ? 65535=100000... a few more copies "displayed as sold". A repair is in testing now. "We've come up with a fix for this issue and are in the final phases of a broad test pass in order to ensure that the fix works and doesn't introduce any additional issues--especially any other calculation issues," Gainer said. "This fix then needs to make its way through our official build lab and onto a download site--which we expect to happen very soon." If this would not be a grave matter of concern it would be funny. A spreadsheet program you can't trust to do operations properly is not one worth considering using.
Reply to this comment
FYI: Only for * and /
by Schpeyeder September 27, 2007 6:45 AM PDT
This bug is present when using multiplication and division on the cell value. If you add or subtract the values, you will see the correct result. Strange bug though...
Reply to this comment
my old calculator can handle the number just fine?
by ColdMast September 27, 2007 7:37 AM PDT
I wonder what other problems will crop up with EXCEL 2007?
Reply to this comment View reply
It definitely more serious than formatting
by lcminc September 29, 2007 3:54 PM PDT
Try the following vertical summation of these numbers. 2874 226345 153387 2285575 equals 2670188 instead of 2668181 I have no confidence in their products.
Reply to this comment View reply
Example at end of Excel Bug report
by nick fortis October 10, 2007 1:12 PM PDT
2.6^10*2 is **NOT** 260; I believe this is (2.6^10)*2 (which is closer to 28233.419130676) Perhaps one meant 2.6*(10^2) 2.6 times 10-squared = 2.6 times 100 = 260. Furthermore, Floating point representations are possibly best thought of as numbers expressed as a variant of Scientific Notation. E.g. The above: 2.823341913E+04 Nick F. 10.10.07
Reply to this comment
Excel 2007 can not add correctly.
by lcminc October 25, 2007 9:10 PM PDT
I have download the bug patch for the previously discussed problem with 850*77.1 =100000 and have found another bug that is more distrubing. Try adding the following numbers with a vertical sum 3277+ 240550 + 166937 + 2392356 = 2805127 instead of 2803120 . Any help would be appreciated Logan McDonald
Reply to this comment View reply
Powered by Jive Software
  • About Underexposed

  • This blog sheds light on digital photography, science and open-source software--Stephen Shankland's eclectic beat. Shankland joined CNET News.com in 1998 after a five-year stint as a science writer. He's a lab rat who grew up in Los Alamos, New Mexico, and graduated from Harvard.

    Contact Stephen at Stephen.Shankland@cnet.com

Add this feed to your online news reader
Google
Yahoo
MSN

Stuff I'm reading:

Latest blog posts from News.com

Featured blogs

Beyond Binary by Ina Fried A look at how technology is changing our lives and at the people behind all that life-changing stuff.

Coop's Corner by Charles Cooper Charles Cooper weighs in on Silicon Valley hijinks, and he doesn't suffer fools gladly.

Defense in Depth by Robert Vamosi Covering the latest in computer viruses and computer crime.

Geek Gestalt by Daniel Terdiman At the tech culture nexus of video games, fire art, and virtual worlds.

Green Tech Fresh green tech news and commentary.

One More Thing by Tom Krazit Tom Krazit takes on the tech phenomenon that is Apple, and keeps a close watch on the chip industry.

Outside the Lines by Dan Farber When business and technology meet, that's when things get interesting.

The Iconoclast by Declan McCullagh Exploring the intersection of politics and technology.

The Social by Caroline McCarthy Exploring all facets of social media and tech culture.

Underexposed by Stephen Shankland Coverage of digital photography, science, and open-source software.

advertisement
On TV.com: MILEY CYRUS photographs
Advanced
search
Advanced
search
Visit other CNET Networks sites: