Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Jmadden
 
Posts: n/a
Default Can I stop rounding in excel?

I am doing come calculations and end up with 139.7 for example. If I format
the cell as a number with no decmial points it automatically rounds up to
140. Normally this is ok, but in this case I don't wnat it to round. Can I
turn the rounding feature off?
  #2   Report Post  
Bill Martin -- (Remove NOSPAM from address)
 
Posts: n/a
Default

Jmadden wrote:
I am doing come calculations and end up with 139.7 for example. If I format
the cell as a number with no decmial points it automatically rounds up to
140. Normally this is ok, but in this case I don't wnat it to round. Can I
turn the rounding feature off?


If you format the cell as "general" rather than using a specific number
format I believe you'll get what you want.

Enter PI() into a cell for example, and play with the various formatting
options. Right click on the cell and choose "Format Cells" and then the
"Number" tab. As you select the various format options you'll see the
effect in the little "sample" box.

Bill
  #3   Report Post  
Jmadden
 
Posts: n/a
Default



"Bill Martin -- (Remove NOSPAM from addre" wrote:

Jmadden wrote:
I am doing come calculations and end up with 139.7 for example. If I format
the cell as a number with no decmial points it automatically rounds up to
140. Normally this is ok, but in this case I don't wnat it to round. Can I
turn the rounding feature off?


If you format the cell as "general" rather than using a specific number
format I believe you'll get what you want.

Enter PI() into a cell for example, and play with the various formatting
options. Right click on the cell and choose "Format Cells" and then the
"Number" tab. As you select the various format options you'll see the
effect in the little "sample" box.

Bill




Thanks Bill,

after doing some more searching in the help data, I found the "int"
function. This gives you only the integer portion of a calculation. for
example "=int(a1/a2)" will give you 139, where simply a1/a2 gives you 139.75
which will round up if you remove the number of decmial positions.

Thanks again for you suggestions....

  #4   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

This isn't rounding. Unless you have turned 'Precision as displayed' feature
on, cell formatting doesn't affect stored value at all. Formatting only
changes the way, your data are displayed. Example:

Enter 1.5432 into cell A1. Format the cell A1 as Numeric with 0 decimals -
the number 2 is displayed. Format the cell A1 as numeric with 4 decimals -
1.5432 is displayed. Format cell A1 as numeric with 0 decimals again. Into
B1 enter the formula
=2*A1
and format as numeric with 4 decimals - not 4.0000 but 3.0864 is displayed.
Etc.

--
When sending mail, use address arvil<attarkon.ee
Arvi Laanemets


"Jmadden" wrote in message
...
I am doing come calculations and end up with 139.7 for example. If I

format
the cell as a number with no decmial points it automatically rounds up to
140. Normally this is ok, but in this case I don't wnat it to round. Can I
turn the rounding feature off?



  #5   Report Post  
Myrna Larson
 
Posts: n/a
Default

Do you mean that you want it to show 139 in this case? Or 139.7? If you don't
want it to round, you shouldn't set a format with a specific number of decimal
places.


On Tue, 11 Jan 2005 21:25:04 -0800, "Jmadden"
wrote:

I am doing come calculations and end up with 139.7 for example. If I format
the cell as a number with no decmial points it automatically rounds up to
140. Normally this is ok, but in this case I don't wnat it to round. Can I
turn the rounding feature off?




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
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
Excel converts Mapped drive to UNC - How to stop? Fred Links and Linking in Excel 1 January 20th 05 12:24 AM
How can I stop Excel from displaying rounded numbers? Credit car. OldManP Excel Discussion (Misc queries) 3 December 8th 04 07:52 PM
How do I make Excel stop rounding off my numbers that are 16 digi. Aida Excel Discussion (Misc queries) 1 December 6th 04 04:34 PM
How do I stop the Reviewing toolbar from showing up in Excel? RickKel Excel Discussion (Misc queries) 2 November 26th 04 05:37 PM


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