![]() |
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. |
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 Code:
ROUNDUP
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! |
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 |
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. |
=IF(MROUND(A1,x)<=A1,MROUND(A1,x)+x,MROUND(A1,x))
Will round A1 UP to the next number divisible by x. |
All times are GMT +1. The time now is 05:22 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com