ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Rounding (https://www.excelbanter.com/excel-discussion-misc-queries/238935-rounding.html)

Crystal Lee[_2_]

Rounding
 
How can I round a number by editing the cell format?

For example,
17551 to 17550
16284 to 16280
22135 to 22140

Jacob Skaria

Rounding
 
Try the below

=IF(MOD(A1,10)4,CEILING(A1,10),FLOOR(A1,10))

If this post helps click Yes
---------------
Jacob Skaria


"Crystal Lee" wrote:

How can I round a number by editing the cell format?

For example,
17551 to 17550
16284 to 16280
22135 to 22140


Jacob Skaria

Rounding
 
You can also use MROUND() which returns a number rounded to the desired
multiple.

=MROUND(A1,10)

If this function is not available, and returns the #NAME? error, install and
load the Analysis ToolPak add-in...menu ToolsAdd-Ins check Analysis ToolPak

If this post helps click Yes
---------------
Jacob Skaria


"Crystal Lee" wrote:

How can I round a number by editing the cell format?

For example,
17551 to 17550
16284 to 16280
22135 to 22140


Crystal Lee[_2_]

Rounding
 
Thanks for your reply. But is it possible to do the same thing by edit the
cell format (ie without adding formula)?

"Jacob Skaria" wrote:

You can also use MROUND() which returns a number rounded to the desired
multiple.

=MROUND(A1,10)

If this function is not available, and returns the #NAME? error, install and
load the Analysis ToolPak add-in...menu ToolsAdd-Ins check Analysis ToolPak

If this post helps click Yes
---------------
Jacob Skaria


"Crystal Lee" wrote:

How can I round a number by editing the cell format?

For example,
17551 to 17550
16284 to 16280
22135 to 22140


David Biddulph[_2_]

Rounding
 
=ROUND(A1,-1)
Can't be done with format.
--
David Biddulph

"Crystal Lee" wrote in message
...
How can I round a number by editing the cell format?

For example,
17551 to 17550
16284 to 16280
22135 to 22140




Crystal Lee[_2_]

Rounding
 
thanks for your help~

"David Biddulph" wrote:

=ROUND(A1,-1)
Can't be done with format.
--
David Biddulph

"Crystal Lee" wrote in message
...
How can I round a number by editing the cell format?

For example,
17551 to 17550
16284 to 16280
22135 to 22140





Jacob Skaria

Rounding
 
Cannot..

If this post helps click Yes
---------------
Jacob Skaria


"Crystal Lee" wrote:

Thanks for your reply. But is it possible to do the same thing by edit the
cell format (ie without adding formula)?

"Jacob Skaria" wrote:

You can also use MROUND() which returns a number rounded to the desired
multiple.

=MROUND(A1,10)

If this function is not available, and returns the #NAME? error, install and
load the Analysis ToolPak add-in...menu ToolsAdd-Ins check Analysis ToolPak

If this post helps click Yes
---------------
Jacob Skaria


"Crystal Lee" wrote:

How can I round a number by editing the cell format?

For example,
17551 to 17550
16284 to 16280
22135 to 22140



All times are GMT +1. The time now is 11:51 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com