RE:Excel Problem

apit34356 wrote on 9/27/2007, 4:31 AM
A serious problem in Excel displaying calculations;
------------------------------------------------------------------------------------------------
What's 77.1 x 850? Don't ask Excel 2007
65,535 = the Number of the Beast
By Dan Goodin in San Francisco
Published Wednesday 26th September 2007 17:45 GMT

A Microsoft manager has confirmed the existence of a serious bug that could give programmers and number crunchers a failing grade when relying on the latest version of Excel to do basic arithmetic.

The flaw presents itself when multiplying two numbers whose product equals 65,535. Fire up your favorite calculator and multiply 850 by 77.1. Through the magic of zeros and ones, you'll quickly get an answer of 65,535. Those using the Excel 2007, however, will be told the total is 100,000. The program similarly fails when multiplying 11 other sets of numbers, including 5.1*12850, 10.2*6425 and 20.4*3212.5, according to this blog post from Microsoft manager David Gainer.

He stressed that the bug, which was introduced when Microsoft made changes to the Excel calculation logic, occurs only in the value Excel displays in a cell. The result stored in memory is correct. "Said another way, 850*77.1 will display an incorrect value, but if you then multiply the result by 2, you will get the correct answer," Gainer wrote.

Of the 9.214*10^18 different floating point numbers that Excel 2007 can store, six of them are susceptible to the flaw.

We're still at a loss as to why the latest and greatest version of Excel would get tripped up on equations totaling 65,535. The number, of course, is the highest that can be represented by an unsigned 16 bit binary number, so people who muck around with computers encounter it on a daily basis. For example, Internet protocol supports 65,535 TCP and UDP ports.

Microsoft engineers are in the final phase of testing a fix. It should be available for download soon, Gainer said
------------------------------------------------------------------------------------------------

Comments

TheHappyFriar wrote on 9/27/2007, 6:59 AM
Microsoft engineers are in the final phase of testing a fix. It should be available for download soon, Gainer said

OpenOffice.Org is already out, why are they still testing? :)
jrazz wrote on 9/27/2007, 7:05 AM
When I use OpenOffice I find that everytime I copy text from an email or what have you, it copies within frames. The work around for this is to copy first to word pad and then copy to openoffice. I looked for a while in the program settings on how to just copy plain text but could not find it and that is when I did the two step work around. You have any ideas on this Friar?

j razz
TheHappyFriar wrote on 9/27/2007, 8:10 AM
I just dragg+selected text in thunderbird & pasted in to OO no problem. Same with text in this forum. sounds like there's frames in what you're copying. & HTML/CSS formated text on planetquake.gamespy.com.

in OO, go to EDIT - Past Special & select "unformatted text". Stipps out any on-text formatting (IE no HTML). I'm using OO 2.2.1.
jrazz wrote on 9/27/2007, 9:08 AM
Thanks. I will give it a try.

j razz
Grazie wrote on 9/27/2007, 12:28 PM
OO is brilliant. Have it on my Edit machine and it just .. . works! Oh yeah . .it's free.

Grazie
apit34356 wrote on 9/27/2007, 3:03 PM
What is seriously sad about this is that Excel and PowerPoint is the most common apps used in the local,state and fed governments. Even Al Glore current big push in his presentations are using MS products, talk about misdirection. A lot of debate about the numbers just got more confusing for Joe Doe.
Coursedesign wrote on 9/27/2007, 3:13 PM
Even Al Glore current big push in his presentations are using MS products, talk about misdirection.

What MS products would that be?

He is using Keynote for his presentations, and a Mac with three 30" monitors on his desk for his daily work.
TheHappyFriar wrote on 9/27/2007, 6:39 PM
What is seriously sad about this is that Excel and PowerPoint is the most common apps used in the local,state and fed governments.

this issue right here is the reason open-source proponents say govt's should just modify open-source code to fit their needs. Then either a) this doesn't happen, b) they fit it when it's need or c) nobody knows & thus it can be fixed before an exploit is released.

Along side of "separation of church & state" it should be "separation of commerce & state" to a degree. Lowest bidder isn't always the bet bang for the buck!
jrazz wrote on 9/27/2007, 6:59 PM
I used the special paste options (from previous response above) and it worked like a charm. I am used to using Ctrl+C and Ctrl+v key commands as opposed to going to edit and selecting special paste.

Thanks for the tip, it is easy enough.

j raz