ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   More than two decimal places (https://www.excelbanter.com/excel-discussion-misc-queries/262912-re-more-than-two-decimal-places.html)

austris

More than two decimal places
 
In Excel what you 'see' in the cell quite often isn't what value there
actually 'is' in the cell. What you 'see' depends on the cell
formatting, e.g., if you type in the cell value 545.02034 but then
format it (Ctrl+1) on the Numbers tab as 'Number' with 2 decimal
places - then you'll 'see' on the screen 545.02 despite the fact that
the actual value stored in the cell has more decimals. So in your list
some values must have those more decimals it's just that the cells
have been formatted to DISPLAY only 2.
Change the formatting and you'll have them all the same BUT bear in
mind that the actual values will have more decimals - this means that
should you add manually all the values that you 'see' - you'd get a
different total than excel gives as it adds all the fractions too.

On May 1, 4:28*am, GARY wrote:
All cells in a column contain numbers with two decimals places (for
example: 21.56)
But the sum of these cells has more than 2 decimal places (for
example: 545.02034).

Why?




All times are GMT +1. The time now is 03:47 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com