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

Try OpenOffice (And even better, you could modify the code yourself to suit your exact needs...)
 
Upvote 0

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
Re: CELL j = CELL j-1 + 0.1 => demostrated This NOT

my 2¢:

i agree with Juan - if you feel Microsoft has written a substandard program, then write your own spreadsheet program that calculates with the precision you desire, and when it's completed, update us here on the board. no offense intended to you or anyone else for that matter, but this discussion is getting old
 
Upvote 0
Re: CELL j = CELL j-1 + 0.1 => demostrated This NOT

sorry i wasn't being very precise :LOL:

sorry couldn't resist
 
Upvote 0
To GV

You wrote "That kind of statement does not add any value to the analysis"

You are, of course, entitled to you opinion on whether or not my statement adds any value to this thread.

Some people might question whether this whole thread has any value whatsoever.

Your posts tend to indicate that you are not entirely happy (am I right?) about the minor variances that can occur in Excel with floating point arithmetic after 15 decimal places (or something like that).

Why is this matter so important to you?
(It must be important since you've almost posted enough words to publish a book.)

With regard to the posters who have hinted that this thread has become "old hat", just ignore them - they are impolite.
I think we are just getting started on this topic, and in the right direction.
 
Upvote 0
Re: CELL j = CELL j-1 + 0.1 => demostrated This NOT

Did you do the 1/3 test I suggested? What was the result?

Did you check the MSKB article I pointed out? Did you provide MS with feedback on it?

If not, why are you babbling on and on and on and on and on and on...
on this subject on this web site? To the best of my knowledge, it is neither owned, managed, or monitored by MS.

If you are so sure this is a bug, why don't you do something useful? File a report with MS? Start with http://support.microsoft.com/default.aspx?scid=fh;[ln];msservices
gvicenci said:
There is a bug….. and I believe MS will correct this BUG in the near futur.
I’m just presenting the fact/bug.

by MS, particulary in excel is not full perfect. Why ?
Therefore, there is a bug in excel.
So, Conclusion, what is the BUG (again) ….……. :

MS have a bug ( in excel ) since the
Note : MS recognize that they don’t adhere to ALL the “IEEE 754” specification.

( however, they fail in this part of the implementation and this is the BUG )
 
Upvote 0
Re: CELL j = CELL j-1 + 0.1 => demostrated This NOT

I agree with Paddy and Tushar.

Quick comment:
In VBA you can set the numerical data type. On a worksheet you always have Double (binary, 15 decimal places). HOwever, VBA gives the options of Currency (a scaled DECIMAL that doesn't have these issues -- obviously the one to use for financial calcs); and you can also convert a Variant to a Decimal and avoid the issue that way.

Still not much help if you do most of your work on a worksheet, but there are ways to guarantee absolute accuracy if you must have it.
 
Upvote 0
tusharm said:
LOL!
Ponsonby said:
I think we are just getting started on this topic, and in the right direction.

:)

I'm sure GV has a lot more to write on this subject, and I am really looking forward to it, even if you aren't.

I think it is unfair of you to try and cut him short just when he's really only just started.

I don't think it will take a lot of effort to keep this thread going for a long time - possibly years.
 
Upvote 0
Re: CELL j = CELL j-1 + 0.1 => demostrated This NOT

I've read the whole thread, and have a few thoughts. Keep in mind this is a help forum; as I see it, the OP A] knows there is an issue/bug with XL regards precision, and B] is not in search of a solution, and C] does not have a solution of his own to offer. Other than to alert us to what we already know, I see no point to this thread being here -- should be in Max Cells, as the OP is wanting to engage in a discussion rather than a solution.[/b]
 
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