12-05-2009, 05:08 AM
Currency-formatted cells - why is the value of the third decimal place taken into account for the final calculation? Shouldn't it be dropped?

Excel thinks 7 + 7 + 3 = 18...what gives?
|
12-05-2009, 05:08 AM
Currency-formatted cells - why is the value of the third decimal place taken into account for the final calculation? Shouldn't it be dropped?
![]()
12-05-2009, 05:17 AM
New Math.
12-05-2009, 05:19 AM
OK, seriously...
The sum value of the third decimal place is causing the total to round up. Currency formatting doesn't change a number entered in a cell - it simply formats it to display with a dollar sign and to two decimal places.
12-05-2009, 05:19 AM
Apparently not. But honestly, I've never used currency formatting, so i don't know what to expect.
12-05-2009, 05:33 AM
You should get the same answer as if you multiplied the subtotal by 1.2, which is 16,403.676. Rounds to what you got.
If you don't want it to work that way there is probably a truncate function you could use. But I'd rather have it give me the same answer regardless of how I did the math. Good luck. - Winston
12-05-2009, 05:36 AM
So Excel will round the number for display but all available decimal places are used in any calculations...can't believe I've never paid much attention to this.
Here's a workaround...by checking "Precision as Displayed" in the Calculation Preferences calculations will be based on only what is displayed. This is a workbook-level preference setting: ![]() Doing this leads to 7 + 7 + 3 = 17 so I'm happy for now ![]()
12-05-2009, 06:14 AM
ROUND(number,num_digits) will force a cell to round to a given decimal place and thus have WYSIWYG within individual cell(s). Just replace number with the formula you are calculating and num_digits with the number of decimals you want.
i.e. =ROUND(.1*A1,2)
12-05-2009, 06:24 AM
.....low SAT scores.....?
_____________________________________
I reject your reality and substitute my own!
12-05-2009, 04:20 PM
You must be using the federal government edition of Excel.
12-05-2009, 04:47 PM
Burn it! Witch! Witch!
|
« Next Oldest | Next Newest »
|