Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Cell Swallows Decimal Places

I have to work on an Excel sheet that someone else prepared and it
behaves differently than any worksheet I've seen: If I enter a number
wirh multiple decimal places, the number is rounded to one decimal
place not only for displaying but also for internal storage
apparently, which causes rounding errors. (The formatting is set to
percent with one decimal place.)

I would like it to store all decimal places internally (and have them
displayed when editing the cell) but only display one decimal place
which is how a "fresh" worksheet behaves and how I thought Excel
"normally" works.

Is there a setting I'm missing or what else can be the cause of this?

Thanks
Oliver

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 10,593
Default Cell Swallows Decimal Places

Sounds as though there is worksheet event code changing it.

Right-click on the sheet tab, select 'the View Code option from the menu,
and see if there is code doing it.

--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)

wrote in message
oups.com...
I have to work on an Excel sheet that someone else prepared and it
behaves differently than any worksheet I've seen: If I enter a number
wirh multiple decimal places, the number is rounded to one decimal
place not only for displaying but also for internal storage
apparently, which causes rounding errors. (The formatting is set to
percent with one decimal place.)

I would like it to store all decimal places internally (and have them
displayed when editing the cell) but only display one decimal place
which is how a "fresh" worksheet behaves and how I thought Excel
"normally" works.

Is there a setting I'm missing or what else can be the cause of this?

Thanks
Oliver



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Cell Swallows Decimal Places

Sounds as though there is worksheet event code changing it.

Right-click on the sheet tab, select 'the View Code option from the menu,
and see if there is code doing it.


I've checked, but there is not event code (other than Workbook_Open,
but I wrote that).

Oliver

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Cell Swallows Decimal Places

I've found it, in case anyone cares:

There's a checkbox Tools Options Calculation Accuracy As
Displayed (or something like that, I'm re-translating from the German
version) that causes this behaviour.

Thanks anyway
Oliver

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 663
Default Cell Swallows Decimal Places

Hi,

Do the following:

1. On the Tools menu, click Options. the Options dialog box is displayed.
2. Click the claculations tab.
3. Under the Windows Options, select the Precision as displayed check box.
4. Click the Edit tab.
5. Under the Setting, select the Fixed decimal checkbox, and click the up or
down arrow to specify the number decimal places you for that values in the
cell.
6. Click Ok to save the settings and return to the active worksheet.

Challa Prabhu

" wrote:

I have to work on an Excel sheet that someone else prepared and it
behaves differently than any worksheet I've seen: If I enter a number
wirh multiple decimal places, the number is rounded to one decimal
place not only for displaying but also for internal storage
apparently, which causes rounding errors. (The formatting is set to
percent with one decimal place.)

I would like it to store all decimal places internally (and have them
displayed when editing the cell) but only display one decimal place
which is how a "fresh" worksheet behaves and how I thought Excel
"normally" works.

Is there a setting I'm missing or what else can be the cause of this?

Thanks
Oliver




  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Cell Swallows Decimal Places

Regardless of the advice Challa has given you here, do *NOT* set Tools/
Options/ Edit/ Fixed decimal places, unless you want Excel to change the
values you type in. With that option set to 2 decimal places, if you type
in 12345, then the value in the cell will become 123.45.

Also, Challa seemed to be suggesting turning *ON* the "Precision as
displayed" option, but I believe that the answer to the OP's question is to
turn *OFF* that option.
--
David Biddulph

"challa prabhu" wrote in message
...
Hi,

Do the following:

1. On the Tools menu, click Options. the Options dialog box is displayed.
2. Click the claculations tab.
3. Under the Windows Options, select the Precision as displayed check box.
4. Click the Edit tab.
5. Under the Setting, select the Fixed decimal checkbox, and click the up
or
down arrow to specify the number decimal places you for that values in the
cell.
6. Click Ok to save the settings and return to the active worksheet.

Challa Prabhu


" wrote:

I have to work on an Excel sheet that someone else prepared and it
behaves differently than any worksheet I've seen: If I enter a number
wirh multiple decimal places, the number is rounded to one decimal
place not only for displaying but also for internal storage
apparently, which causes rounding errors. (The formatting is set to
percent with one decimal place.)

I would like it to store all decimal places internally (and have them
displayed when editing the cell) but only display one decimal place
which is how a "fresh" worksheet behaves and how I thought Excel
"normally" works.

Is there a setting I'm missing or what else can be the cause of this?

Thanks
Oliver



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
appended a cell, but need to keep decimal places [email protected] Excel Discussion (Misc queries) 2 April 11th 07 10:31 PM
decimal places in format cell tom Excel Discussion (Misc queries) 2 February 16th 07 09:07 PM
How many decimal places can a cell display? Spaz Excel Worksheet Functions 10 April 3rd 06 08:33 PM
how to count the number of decimal places in a cell? Warren Smith Excel Worksheet Functions 7 August 28th 05 01:52 PM
How do I insert 2 decimal places to a number in cell? Rebecca Martinez Excel Worksheet Functions 6 July 7th 05 07:12 PM


All times are GMT +1. The time now is 02:32 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"