#1   Report Post  
DeeJay
 
Posts: n/a
Default



" wrote:

DeeJay wrote:
I noticed that Excel 2003 calculates:
7.5*1.2=8.7 when the correct answer is 9.0. It did this as part of a
formula where the 1.2 answer came from calculating another set of numbers.
When I asked Excel to calculate this answer by simply inputting those two
numbers the correct answer of 9.0 came out. Does anyone have an answer as
to why it does that?!


In a word, round-off error. (Okay, that's two or threee words.)

The "1.2" that you see in some cell is not really 1.2.
It is probably close to 1.16. Format that cell with
6 or so decimal places, and you will see what I mean.
And by the way, the "8.7" is probably not 8.7.

If you want "1.2" to actually be 1.2, there are a couple
ways to make that happen. The "best" way is to change
the formula that results in "1.2" to =ROUND(formula,1).

Alternatively, there is a Tools / Options / Calculation
option to cause this for all calculations. But because
the affects the entire spreadsheet, it can have unexpected
consequences.


Thank you- I will do that and see what happens. Thanks for the answer!
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ignore error msgs in formula references gharden Excel Discussion (Misc queries) 4 June 17th 05 12:14 AM
Error trapped only while stepping through the code - Not triggered when run Jeff Excel Discussion (Misc queries) 7 March 7th 05 06:29 PM
Error trapped only while stepping through the code - Not triggered when run Jeff Excel Discussion (Misc queries) 0 February 28th 05 06:26 PM
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM
ERROR Pinto1uk Excel Discussion (Misc queries) 1 February 8th 05 03:15 AM


All times are GMT +1. The time now is 04:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"