ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   How to round up to the nearest five (https://www.excelbanter.com/excel-discussion-misc-queries/249056-how-round-up-nearest-five.html)

James

How to round up to the nearest five
 
How can I make a 34 to a 35 etc etc.

How can i round up any number to the nearest five or ten?

E.G a 39 to a 40, a 6 to a 10 and a 1132 to a 1135.

thanks.

Mike H

How to round up to the nearest five
 
Hi,

Try this

=CEILING(A1,5)
Mike

"James" wrote:

How can I make a 34 to a 35 etc etc.

How can i round up any number to the nearest five or ten?

E.G a 39 to a 40, a 6 to a 10 and a 1132 to a 1135.

thanks.


Jacob Skaria

How to round up to the nearest five
 
When you say nearest..39 should be 40 and 36 should be 35 right?

=ROUND(A1/5,0)*5

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


"James" wrote:

How can I make a 34 to a 35 etc etc.

How can i round up any number to the nearest five or ten?

E.G a 39 to a 40, a 6 to a 10 and a 1132 to a 1135.

thanks.


JLatham

How to round up to the nearest five
 
I agree that he confused the issue with his statement:
"round UP... nearest 5..."
which would imply that 6 should be rounded DOWN to 5, but the example data
showed "a 6 to a 10 and 1132 to 1135" so it does look like always round up.


"Jacob Skaria" wrote:

When you say nearest..39 should be 40 and 36 should be 35 right?

=ROUND(A1/5,0)*5

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


"James" wrote:

How can I make a 34 to a 35 etc etc.

How can i round up any number to the nearest five or ten?

E.G a 39 to a 40, a 6 to a 10 and a 1132 to a 1135.

thanks.



All times are GMT +1. The time now is 10:27 AM.

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