CELL j = CELL j-1 + 0.1 => demostrated This NOT WORK

Status
Not open for further replies.

gvicenci

New Member
Joined
Aug 18, 2003
Messages
7
Excel_error2.xls
ABCDE
2GermanVicencioXInteger(X)
30,000000000000000
4Incredible....ButTRUE!0,100000000000000
5MSEXCELdoesNOTSUMcorrectly.0,200000000000000
6Ifyoucreateasimpleformulaliketheone0,300000000000000
7incolumn"D"(CELLj=CELLj-1+0.1)0,400000000000000
8Youwillrealizethatexcellosecontrolafter0,500000000000000
9repeating/filldowntheformula0,600000000000000
10andgenerateWRONGresults!!0,700000000000000
110,800000000000000
12Accordingtothis:6=5??!!!!0,900000000000000
131,000000000000001
14Unfortunatellyduetothelimitationsinsize1,100000000000001
15forpostingontheboardIcan'tshowexplicit1,200000000000001
16theevidence.However,ifyoufilldown1,300000000000001
17theformulain"D"and"E"youwillhavethe1,400000000000001
18evidenceofthisbig!Error!1,500000000000001
19AfterRow62theworksheetget"crazy"1,600000000000001
20SorryBillGates.......Butyourprogrammer1,700000000000001
21didabasic"math"errorhere!!1,800000000000001
221,900000000000001
232,000000000000002
242,100000000000002
252,200000000000002
262,300000000000002
272,400000000000002
282,500000000000002
292,600000000000002
Hoja1
Rich (BB code):
Rich (BB code):
Rich (BB code):
Rich (BB code):
 
Re: CELL j = CELL j-1 + 0.1 => demostrated This NOT

i agree
 
Upvote 0

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Re: CELL j = CELL j-1 + 0.1 => demostrated This NOT

To : just_jon

The solution will came from MS when they correct the bug.
There are severals ways to by-pass the bug. Here are two ways :
a) X = round( X + 0.1 , 15 )
b) or use “precision as displayed option” On the Tools menu under Options Click to select the “precision as displayed check box”

Actually “a” is a kind of “user” implementation of the IEEE specification
Of “Storing only 15 significant digits of precision”.

Regarding your statement :
“...the OP is wanting to engage in a discussion rather than a solution..“
Wrong interpretation.
Anyway, there is nothing bad with discussions as long they are objective
and attack “problems” not “persons”....
Usually solutions came from previous discussions/analysis...
 
Upvote 0
Re: CELL j = CELL j-1 + 0.1 => demostrated This NOT

Hi German:

You suggest that there are two possible workarounds(my word) on what you have described as a bug. Do you think that it is possible that if MS were to hardcode those workarounds in EXCEL's implementation of FP numbers, that there may be some other issues (problem areas) that might arise!
 
Upvote 0
Re: CELL j = CELL j-1 + 0.1 => demostrated This NOT

OK, folks, let's give this a rest, Ponsonby notwithstanding.

This board has been blessedly free of trolls, and I realize that the uniqueness of observing one this close can be almost irresistible. But, dig down into that fortitude. Find the courage to say "No!" After all, as anyone who hangs out in the newsgroups knows, the only cure for a troll is to ignore her/him.

The OP's suggestions for workarounds come straight from the MSKB. Since he (I'm guessing it's a he not a she) has read -- without acknowledging -- what MS has to write on the subject, if he wants to delude himself into thinking MS will 'fix' this 'bug' we should let him wait in silence.

For anyone interested in this subject, there is a large body of literature on numerical analysis, numerical computing, and the study of the numerical stability of algorithms. Among the many options, none of which includes feeding a troll :), are:
  • search google/yahoo
    search support.microsoft.com
    get the book 'Numerical Recipes'
    read the papers/books by people like Knuth, Wirth, their contemporaries, and the follow up literature
    search the google.com archive of the XL newsgroups for posts on the subject by Martin Brown, Jerry Lewis, Harlan Grove, Mike Middleton, Chip Pearson, David Braden, (and myself?)
    take a course in numerical computing
 
Upvote 0
Re: CELL j = CELL j-1 + 0.1 => demostrated This NOT

Many software offerings demonstrate glitches, here are some more current Excel shortcomings (see: Statistical Function Improvements).

Here's an old Access bug. Lotus 1,2,3 had bugs, and don't get me started on Lotus Notes.

Thanks for the observations. This is now (perhaps previously :) ) unnecessarily taking up bandwidth and going nowhere -> Next. :)
 
Upvote 0
Status
Not open for further replies.

Forum statistics

Threads
1,221,687
Messages
6,161,287
Members
451,695
Latest member
Doug Mize 1024

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top