Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a data export that views correctly with numbers at two decimals
(12.56) but when I click on the cell - the number display with eight decimals (12.561212230. i have tried changing the format globally but it won't change. I can change them individually but was wondering what would make this happen? Jo |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you enter or import 12.561212230 in a cell that is what will be stored by
Excel. Display will change based on the cell format but underlying value will remain same. See http://www.cpearson.com/excel/rounding.htm for an excellent discussion. "joey" wrote: I have a data export that views correctly with numbers at two decimals (12.56) but when I click on the cell - the number display with eight decimals (12.561212230. i have tried changing the format globally but it won't change. I can change them individually but was wondering what would make this happen? Jo |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks so much! So good to know the "whys"
"Sheeloo" wrote: If you enter or import 12.561212230 in a cell that is what will be stored by Excel. Display will change based on the cell format but underlying value will remain same. See http://www.cpearson.com/excel/rounding.htm for an excellent discussion. "joey" wrote: I have a data export that views correctly with numbers at two decimals (12.56) but when I click on the cell - the number display with eight decimals (12.561212230. i have tried changing the format globally but it won't change. I can change them individually but was wondering what would make this happen? Jo |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Sheeloo correctly noted that formatting changes the display, not the
underlying value. There is an Excel calculation option "Precision as displayed" that will permanently truncate all cell values to format precision. In Excel 2003 (I don't know about 2007), it does not truncate to the display precision that is an artifact of column width rather than cell formatting. Where a cell contains a formula, the calculated result will be truncated to the formatted precision, but the formula itself will not be changed in any way. Beware that there may be unintended consequences due to reducing the precision of formula results. For example if A1 contains the formula =3.1/2 formatted to display no decimal places, then the formula =2*A1 will return 4 instead of 3. 1. However, turning once the option is turned off, =2*A1 will again return 3.1, because the formula =3.1/2 was never changed. Thus you could turn the option on to reduce the precision of all constants, and then turn it off. A less pervasive solution would be to selectively use the ROUND function. Jerry "joey" wrote: I have a data export that views correctly with numbers at two decimals (12.56) but when I click on the cell - the number display with eight decimals (12.561212230. i have tried changing the format globally but it won't change. I can change them individually but was wondering what would make this happen? Jo |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How can I pop up a picture when a cell is clicked on Excel? | Excel Discussion (Misc queries) | |||
How can I detect that an excel cell has been clicked | Excel Discussion (Misc queries) | |||
HOW DO I GET AN X IN A CELL IN EXCEL TO COME & GO WHEN CLICKED | Excel Discussion (Misc queries) | |||
Is it possible to have phone numbers dial when clicked in Excel? | Excel Worksheet Functions | |||
unhide rows when cell is clicked | Excel Worksheet Functions |