WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Excel 2007 Multiplication Bug

 
   Home -> Office -> General Protection Fault Errors RSS
Next:  Excel 2007 Error in xmlx file after deleting colu..  
Author Message
Roger

External


Since: May 11, 2006
Posts: 156



(Msg. 1) Posted: Mon Sep 24, 2007 10:38 pm
Post subject: Excel 2007 Multiplication Bug
Archived from groups: microsoft>public>excel>crashesgpfs (more info?)

Enter this formula in a cell: 850*77.1
The answer should be 65535, but Excel shows 100000.
Just for fun, try 850*77.1 -1 and you get 65534!
Back to top
Login to vote
Jan Karel Pieterse

External


Since: Apr 13, 2004
Posts: 402



(Msg. 2) Posted: Wed Sep 26, 2007 3:01 am
Post subject: Re: Excel 2007 Multiplication Bug [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hi Roger,

> Enter this formula in a cell: 850*77.1
> The answer should be 65535, but Excel shows 100000.
> Just for fun, try 850*77.1 -1 and you get 65534!

See:

http://blogs.msdn.com/excel/archive/2007/09/25/calculation-issue-update.aspx

Regards,

Jan Karel Pieterse
Excel MVP
http://www.jkp-ads.com
Member of:
Professional Office Developer Association
www.proofficedev.com
Back to top
Login to vote
AdamV

External


Since: May 27, 2007
Posts: 36



(Msg. 3) Posted: Thu Oct 04, 2007 3:42 am
Post subject: Re: Excel 2007 Multiplication Bug [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

and more information here:
http://veroblog.wordpress.com/2007/10/02/excel-2007-bug-shows-wrong-an...rs-to-s

--
Adam Vero
MCP, MOS Master, MLSS, CWNA
http://veroblog.wordpress.com
http://www.meteorit.co.uk


"Jan Karel Pieterse" wrote:

> Hi Roger,
>
> > Enter this formula in a cell: 850*77.1
> > The answer should be 65535, but Excel shows 100000.
> > Just for fun, try 850*77.1 -1 and you get 65534!
>
> See:
>
> http://blogs.msdn.com/excel/archive/2007/09/25/calculation-issue-update.aspx
>
> Regards,
>
> Jan Karel Pieterse
> Excel MVP
> http://www.jkp-ads.com
> Member of:
> Professional Office Developer Association
> www.proofficedev.com
>
>
Back to top
Login to vote
Jerry W. Lewis

External


Since: Mar 08, 2006
Posts: 250



(Msg. 4) Posted: Mon Oct 22, 2007 12:41 am
Post subject: RE: Excel 2007 Multiplication Bug [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Microsoft recently published a patch that appears to fix this
http://support.microsoft.com/kb/943075
Oddly, this patch (though already out) was not bundled with the "essential"
patches that I downloaded last week along with the trial version of Office
2007.

Values of 2^16-1-d (whether as a formula result or a constant), where d was
too small (2^-37 <= d <= 6*2^-37) to properly impact the 15-digit decimal
representation, displayed as 100000 despite still having the correct
underlying value. Values of 2^16-d displayed as 100001 despite still having
the correct underlying value. Interestingly, this seems to have been a new
intersection in Excel 2007 of two old bugs that have existed at least since
version 4, and probably since the inception of Excel.

1. There appears to have been a set of millions of valid binary numbers
(that included fractional parts) which for whatever reason were not permitted
as constant values in Excel, but were supported as the result of
calculations. The values like this that I am aware of rounded away the
trailing bits in the final three positions of a binary floating point number.
For values like 0.5 +/- d, this rounding made a perverse kind of sense as an
early attempt at the "optimization" that was introduced in 1997
http://support.microsoft.com/kb/78113
which "optimization" has led to numerous questions where a formula that by
itself appears to return zero doesn't behave like zero in a LOOKUP or IF
function or in a larger formula (because at the binary level, the result is
not and should not be zero). This rounding made less sense with numbers
like, 0.5000012207031250266453525910037569701671600341796875+/-d, where even
the "rounded" number could not be fully displayed in 15 decimal digits. This
longstanding bug appears to have been completely fixed in the original
production release of 2007, before application of the current patch.

2. There appears to have been a non-overlapping (AFAIK) set of millions of
decimal fractions that could not be displayed properly
http://support.microsoft.com/kb/161234
admits to x.848 displaying as x.8479999999 for x an integer between 2^15 and
2^16, but there are millions of other decimal fractions that were similarly
mis-displayed
http://groups.google.com/group/microsoft.public.excel.misc/msg/1b2d9f986ce8e65b
I was not previously aware of any number in this set whose incorrect display
was off by more than 1 in the 15th digit; as a result, fixing this bug has
seemed to have little or no priority with MS until now.

I believe both of these longstanding bugs to be related to the current bug
for the following reasons:

- It does not make sense that a current change to the display engine
capable of causing this current bug could have survived its testing phase
without uncovering this bug.

- If the process of displaying results (formulas as well as constants)
first went through the filter of bug 1 before being passed to the display
engine, then the 2007 patch for bug 1, would mean that display of these
impacted values had never been tested, yet the need to test their display
could easily have been overlooked.

- The patch for the current problem appears to also fully patch bug 2,
while preserving the patch for bug 1 (thank you MS for not simply restoring
bug 1).

Jerry

"Roger" wrote:

> Enter this formula in a cell: 850*77.1
> The answer should be 65535, but Excel shows 100000.
> Just for fun, try 850*77.1 -1 and you get 65534!
Back to top
Login to vote
Dan

External


Since: Jun 25, 2004
Posts: 368



(Msg. 5) Posted: Thu Aug 27, 2009 12:07 pm
Post subject: RE: Excel 2007 Multiplication Bug [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

I could not replicate this error on 2007.
I am sure the hotfix which I have would have resolved this issue.
Dan

"Roger" wrote:

> Enter this formula in a cell: 850*77.1
> The answer should be 65535, but Excel shows 100000.
> Just for fun, try 850*77.1 -1 and you get 65534!
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> General Protection Fault Errors All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET |
  • IT Support