Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
karenm
 
Posts: n/a
Default 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?

  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=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?



  #3   Report Post  
KL
 
Posts: n/a
Default

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?



  #4   Report Post  
KL
 
Posts: n/a
Default

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?





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
Round a number to the Nearest .25 Dave E Excel Worksheet Functions 3 May 15th 23 11:47 AM
How do i round up a price to the nearest 5,10,15 etc pence Millsy Excel Worksheet Functions 1 May 18th 05 02:20 PM
i need an excell formula that will round up to the nearest 9.99 Brian Excel Worksheet Functions 4 May 11th 05 10:51 PM
Round Up to Nearest 10 Marek Excel Worksheet Functions 4 April 29th 05 01:16 PM
Round time to nearest quarter hr John Excel Worksheet Functions 2 March 16th 05 09:41 PM


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