Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Office for Mac Excel 2004 can't add.
10/23/07 | me

Posted on 10/23/2007 7:49:43 AM PDT by Dick Vomer

Had a funny thing happen on a spread sheet and was wondering if there was anyone else out there with the same problem.


TOPICS: Computers/Internet
KEYWORDS: computersoftware; excel; glitch
I was using Excel and was adding 3 columns together that referenced a prior cell and this is what I got.

19297.47 =cell L12

in cells L14 = L12 * .29 = 5596.27

L15= L12 * .06 =1157.85

L16= L12* .06=559.63

now the weird part

5596.27+1157.85+559.63=7313.74....

I've readjusted the rounding and it still comes out the wrong answer.

It looked funny and that's the only reason I rechecked the math. I always recheck figures out of habit but now I'm wondering how many math errors are put in with Excel in bank statements, tax returns and other businesses that use excel.

Any suggestions or do I just have the lone buggy software?

1 posted on 10/23/2007 7:49:43 AM PDT by Dick Vomer
[ Post Reply | Private Reply | View Replies]

To: Dick Vomer

2 posted on 10/23/2007 7:52:18 AM PDT by Red Badger ( We don't have science, but we have consensus.......)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Dick Vomer

L15 & L16 are the same equation - yet you get different results???

Is this a typo or is the formula wrong or ........ Karl Rove at work to destroy Apple.


3 posted on 10/23/2007 7:54:16 AM PDT by NTHockey (Rules of engagement #1 - Take no prisoners))
[ Post Reply | Private Reply | To 1 | View Replies]

To: Dick Vomer

L15 = L12 * .06 = 1157.85

L16 = L12 * .06 = 559.63

Hmmmm .... You equations don’t make any sense. Is L12 a variable or the result of a summation, or both?


4 posted on 10/23/2007 7:56:13 AM PDT by stinkerpot65 (Global warming is a Marxist lie.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Dick Vomer
I have Excel 2002 for Windows. There is an error in your equations. Specifically:

L16= L12* .06=559.63

The appropriate answer is the same as L15. Your answer is ten percent of L14.

5 posted on 10/23/2007 8:20:42 AM PDT by chopperman
[ Post Reply | Private Reply | To 1 | View Replies]

To: Dick Vomer
now the weird part

5596.27+1157.85+559.63=7313.74....

I've readjusted the rounding and it still comes out the wrong answer.

Is the "weird part" that it summed to 7313.74 instead of 7313.75?

If so, then the problem might be that your columns are using "single precision" floating point numbers [32-bits], and if you could change the type of the values to "double precision" floating point numbers, then you might get better [i.e. less noticeable] rounding error.

[Note that there will ALWAYS be rounding error when working with floating point numbers - the only question is HOW BAD the rounding error will be.]

Beyond that, there are some known bugs with the mathematics package in Excel 2007:

Excel 2007 Multiplication Bug
Monday September 24, 2007
http://it.slashdot.org/article.pl?sid=07/09/24/2339203

6 posted on 10/23/2007 8:51:14 AM PDT by KayEyeDoubleDee (const Tag &referenceToConstTag)
[ Post Reply | Private Reply | To 1 | View Replies]

To: KayEyeDoubleDee

Modifying the multiplication equations as below can eliminate the hidden stuff and solve the penny problem:

L14=0.01*INT(100*L12*0.29+0.5)
L15=0.01*INT(100*L12*0.06+0.5)

etc.


7 posted on 10/23/2007 9:27:55 AM PDT by chopperman
[ Post Reply | Private Reply | To 6 | View Replies]

To: chopperman

Even simpler:

L14=ROUND(L12* 0.29,2)
L15=ROUND(L12* 0.06,2)


8 posted on 10/23/2007 9:36:58 AM PDT by chopperman
[ Post Reply | Private Reply | To 7 | View Replies]

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson