Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default How to roundoff the decimal points to the nearest whole integer?

Hi

How to roundoff the decimal points to the nearest whole integer?

Thanks
--
Life isa journey not a destination
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default How to roundoff the decimal points to the nearest whole integer?

On Sun, 17 Jan 2010 05:46:01 -0800, Sherees
wrote:

Hi

How to roundoff the decimal points to the nearest whole integer?

Thanks


=round(ur_number_or_cell_reference,0)

--ron
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 561
Default How to roundoff the decimal points to the nearest whole integer?

Checkout the ROUND function.
Micky


"Sherees" wrote:

Hi

How to roundoff the decimal points to the nearest whole integer?

Thanks
--
Life isa journey not a destination

  #4   Report Post  
Posted to microsoft.public.excel.misc
al al is offline
external usenet poster
 
Posts: 363
Default How to roundoff the decimal points to the nearest whole integer?

Is there a way to achieve such a roundup across a range of cells?
I understand =round(your_cell_reference,0) but that produces the rounded
value of, say A3 in, say, B3.
I often need to reduce a range of cells by a specified %. I then enter, say
..97 into a cell - so as to achieve a 3% reduction - and then copy/paste
special/multiply across range. This will give me results that are not whole
integers, but it is whole integers that are needed. (I then go in and
manually change the range values to the whole integers that I need, and this
can sometimes be 100s of cells!)
Anyone got some brillant way of doing this? Many thanks in advance!

"Sherees" wrote:

Hi

How to roundoff the decimal points to the nearest whole integer?

Thanks
--
Life isa journey not a destination

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,651
Default How to roundoff the decimal points to the nearest whole integer?

On Sun, 17 Jan 2010 17:16:02 -0800, Al wrote:

Is there a way to achieve such a roundup across a range of cells?
I understand =round(your_cell_reference,0) but that produces the rounded
value of, say A3 in, say, B3.
I often need to reduce a range of cells by a specified %. I then enter, say
.97 into a cell - so as to achieve a 3% reduction - and then copy/paste
special/multiply across range. This will give me results that are not whole
integers, but it is whole integers that are needed. (I then go in and
manually change the range values to the whole integers that I need, and this
can sometimes be 100s of cells!)
Anyone got some brillant way of doing this? Many thanks in advance!


You could either write a VBA macro to accomplish this over a defined range of
cells.

Or, if you understand the consequences, you could consider formatting the
relevant cells to zero decimal places, and then setting Precision as Displayed
in the Options. This might have undesired consequences, so be sure you
understand them.
--ron


  #6   Report Post  
Posted to microsoft.public.excel.misc
al al is offline
external usenet poster
 
Posts: 363
Default How to roundoff the decimal points to the nearest whole intege

I think I understand the consequences, and that looks like it'll work for me!
Thank you!

"Ron Rosenfeld" wrote:

On Sun, 17 Jan 2010 17:16:02 -0800, Al wrote:

Is there a way to achieve such a roundup across a range of cells?
I understand =round(your_cell_reference,0) but that produces the rounded
value of, say A3 in, say, B3.
I often need to reduce a range of cells by a specified %. I then enter, say
.97 into a cell - so as to achieve a 3% reduction - and then copy/paste
special/multiply across range. This will give me results that are not whole
integers, but it is whole integers that are needed. (I then go in and
manually change the range values to the whole integers that I need, and this
can sometimes be 100s of cells!)
Anyone got some brillant way of doing this? Many thanks in advance!


You could either write a VBA macro to accomplish this over a defined range of
cells.

Or, if you understand the consequences, you could consider formatting the
relevant cells to zero decimal places, and then setting Precision as Displayed
in the Options. This might have undesired consequences, so be sure you
understand them.
--ron
.

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
extract decimal and convert to integer Mike H Excel Discussion (Misc queries) 9 October 1st 09 09:17 AM
Decimals Constant to 0.50 or Nearest Integer Esssa Excel Worksheet Functions 3 October 23rd 08 11:56 AM
HOW TO ROUND UP INTEGER VALUES TO NEAREST TENS EXAMPLE 376 TO 380 v k abbey Excel Worksheet Functions 5 March 22nd 08 06:45 PM
integer with decimal display oldLearner57 Excel Discussion (Misc queries) 1 July 3rd 07 12:30 PM
Rounding to nearest integer pattyh Excel Worksheet Functions 3 April 1st 05 08:02 PM


All times are GMT +1. The time now is 02:38 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright 2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"