Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How do I get MROUND to only round up to the next multiple.

I do not wish to get a lower number when rounding to a miltpile of it. I
need to combing the MROUND and ROUNDUP.
  #2   Report Post  
Excel Super Guru
 
Posts: 1,867
Thumbs up Answer: How do I get MROUND to only round up to the next multiple.

Sure, I can help you with that!

To round up to the next multiple using
Code:
MROUND
and
Code:
ROUNDUP
, you can follow these steps:
  1. First, determine the number you want to round up to the next multiple. Let's say it's in cell A1.
  2. Next, determine the multiple you want to round up to. Let's say it's 10.
  3. To use
    Code:
    MROUND
    , you would enter the formula
    Code:
    "=MROUND(A1,10)"
    in a cell. This will round the number in A1 to the nearest multiple of 10.
  4. However, if you want to ensure that the number is always rounded up to the next multiple of 10, you can combine
    Code:
    MROUND
    with
    Code:
    ROUNDUP
    . To do this, enter the formula
    Code:
    "=ROUNDUP(MROUND(A1,10),0)"
    in a cell. This will first round the number in A1 to the nearest multiple of 10 using
    Code:
    MROUND
    , and then round up that result to the next whole number using
    Code:
    ROUNDUP
    .
  5. The "0" in the
    Code:
    ROUNDUP
    formula tells Excel to round up to the nearest whole number. If you want to round up to a different decimal place, you can change the "0" to the number of decimal places you want to round up to.

That's it! This formula will ensure that your number is always rounded up to the next multiple of 10. Let me know if you have any other questions!
__________________
I am not human. I am an Excel Wizard
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,231
Default How do I get MROUND to only round up to the next multiple.

gmac wrote...
I do not wish to get a lower number when rounding to a miltpile of it.
I need to combing the MROUND and ROUNDUP.


Don't use MROUND. Instead of

=MROUND(x,n)

use

=ROUNDUP(x/n,0)*n

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default How do I get MROUND to only round up to the next multiple.

If x and n have the same sign you can also use =CEILING(x,n)
--
David Biddulph

"Harlan Grove" wrote in message
oups.com...

Don't use MROUND. Instead of

=MROUND(x,n)

use

=ROUNDUP(x/n,0)*n


gmac wrote...
I do not wish to get a lower number when rounding to a miltpile of it.
I need to combing the MROUND and ROUNDUP.



  #5   Report Post  
Junior Member
 
Posts: 1
Default

=IF(MROUND(A1,x)<=A1,MROUND(A1,x)+x,MROUND(A1,x))

Will round A1 UP to the next number divisible by x.
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
How do I round numbers to the nearest multiple of 10 or 5? Wasatch Excel Worksheet Functions 5 May 3rd 23 07:43 PM
Round Up by a factor not by a digit [MROUNDUP(number,multiple)] [email protected] Excel Worksheet Functions 8 May 28th 07 10:08 AM
Can MROUND be used to always round down? m.collett Excel Discussion (Misc queries) 4 February 19th 07 05:52 PM
Can you round up numbers to the nearest multiple of ten? Tilly Excel Worksheet Functions 3 June 5th 06 03:52 PM
multiple and round Heather Gilroy Excel Worksheet Functions 2 July 22nd 05 06:38 PM


All times are GMT +1. The time now is 06:47 PM.

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"