Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 45
Default Numbers view different when clicked on cell

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,805
Default Numbers view different when clicked on cell

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 45
Default Numbers view different when clicked on cell

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 837
Default Numbers view different when clicked on cell

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
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
How can I pop up a picture when a cell is clicked on Excel? Hamlet Excel Discussion (Misc queries) 2 August 29th 08 08:16 PM
How can I detect that an excel cell has been clicked Ballantine Excel Discussion (Misc queries) 5 August 14th 08 10:09 AM
HOW DO I GET AN X IN A CELL IN EXCEL TO COME & GO WHEN CLICKED carbetboy Excel Discussion (Misc queries) 3 March 22nd 08 11:21 PM
Is it possible to have phone numbers dial when clicked in Excel? artemis1027 Excel Worksheet Functions 1 June 28th 06 06:26 PM
unhide rows when cell is clicked lauren_roberts08 Excel Worksheet Functions 2 June 13th 06 08:54 PM


All times are GMT +1. The time now is 09:07 PM.

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"