Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #5  
Old 06-28-2017, 01:03 PM
joeu2004 joeu2004 is offline WHy the difference in amounts Windows 7 32bit WHy the difference in amounts Office 2007
Advanced Beginner
 
Join Date: Aug 2016
Posts: 32
joeu2004 is on a distinguished road
Default

Quote:
Originally Posted by riothecat View Post
JOEu2004, I understand what you are saying, but cannot fix it. All my decimals are down to 2 places. I do however have a convoluted formula and it is to low by 50 plus cents on some og the answers.
If by "down to 2 places", you mean that you are formatting to display 2 decimal places, that is not sufficient.

Formatting alone only affects how a value appears. It does not affect the actual cell value.

Moreover, as my example with 10.01 - 10 demonstrates, constants might have only 2 decimal places, but calculations with those constants might result in values with more decimal places because of the binary arithmetic anomalies that I alluded to before.

Finally, if results are significantly off (by 50+ cents, for example), the mistake could be in your calculations. Not really a mistake per se; but again, failing to round calculations based on your expectations.

For example, =12.45*10% in A1 is 1.245. That might display 1.25 if you format to 2 decimal places. So you might expect a subsequent calculation like =A1*10 to be 12.50, but in fact it is 12.45. And if you sum a bunch of calculations like my example in A1, the cumulative effect can be a significant "error" -- that is, a deviation from your expectations based on displayed values (appearances).

For all of these examples, the remedy is the same: explicitly round to the precision that you expect calculations to be accurate to. That means: use the ROUND function.

Did you even try it?


Quote:
Originally Posted by riothecat View Post
I wish I could post this here.. but it wont let me attach. It's only like 19 kb in size.
As I said, upload an example Excel file (redacted) that demonstrates the problem to a file-sharing website, and post the public/share URL here.

One such website is box.net/files. After uploading the file, be sure to click on Share to get the public URL.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
IF formula when some values are text & others $ amounts LyndaH Excel 4 03-26-2017 08:31 PM
Adding addresses and $ amounts to Word docs littlepeaks Word VBA 2 01-22-2016 07:57 PM
WHy the difference in amounts Tracking Amounts teza2k06 Excel 1 04-13-2014 09:28 PM
WHy the difference in amounts Vlookup help for large amounts of stock data jyfuller Excel 15 09-21-2012 11:35 AM
WHy the difference in amounts indent alternate lines by different amounts rufusfrog Word VBA 5 02-25-2012 03:36 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:44 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft