ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   I need to round up to the nearest 50. (https://www.excelbanter.com/excel-discussion-misc-queries/45129-i-need-round-up-nearest-50-a.html)

karenm

I need to round up to the nearest 50.
 
I am trying to calculate the number of raw material bags I need in a batch.
If I use the mround function is will round down. Is there a way to only
round up?


Bob Phillips

=ROUNDUP(A21/50,0)*50

or

=CEILING(A21,50)

--
HTH

Bob Phillips

"karenm" wrote in message
...
I am trying to calculate the number of raw material bags I need in a

batch.
If I use the mround function is will round down. Is there a way to only
round up?




KL

Hi karenm,

First of all, I believe MROUND rounds number according to the mathematical
rules, not just DOWN or UP.

You can use the following formulae for your case:

=ROUNDUP(A1/50,0)*50
=CEILING(A1/50,1)*50

Regards,
KL



"karenm" wrote in message
...
I am trying to calculate the number of raw material bags I need in a batch.
If I use the mround function is will round down. Is there a way to only
round up?




KL

Opps!

The second formula should actually read:
=CEILING(A1,50)

KL


"KL" wrote in message
...
Hi karenm,

First of all, I believe MROUND rounds number according to the mathematical
rules, not just DOWN or UP.

You can use the following formulae for your case:

=ROUNDUP(A1/50,0)*50
=CEILING(A1/50,1)*50

Regards,
KL



"karenm" wrote in message
...
I am trying to calculate the number of raw material bags I need in a
batch.
If I use the mround function is will round down. Is there a way to only
round up?







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

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