MROUND Help

T

tb

I have the following formula:
=MROUND($AV15*$BG$5,50)

I now would like to modify it such that the lowest value for the
multiple is 50 or, if the result of 50/J15 is not an integer, then I
want to substitute 50 by the closest rounded up integer value that
divides into J15. The minimum value for the multiple has to be 50.

Examples:
* If J15 is 10 then the formula is =MROUND($AV15*$BG$5,50) because
50/J15 is an integer and 50 is my minimum multiple,
* If J15 is 30 then the formula is =MROUND($AV15*$BG$5,60) because
50/J15 is not an integer and the closes integer (rounded up) that
evenly divides into J15 is 60.

I hope I explained it clearly enough...

Thanks in advance for your help!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top