
Use the MROUND function to round prices to
5 or 25 cents
In this example, prices have to be rounded to the nearest 5 or 25
cents. Use the MROUND function, which returns a number
rounded to the desired multiple.
MROUND(number, multiple)
number: The value to be rounded.
multiple: The multiple to which the number will be rounded.
4
To round prices to a multiple of 5 or 25 cents:
1. In cells A2:A10 list some prices with a decimal point.
2. Select cells B2:B10 and type the following formula:
=MROUND(A2,0.05).
3. Press <Ctrl+Enter>.
4. Select cells C2:C10 and type the following formula:
=MROUND(A2,0.25).
5. Press <Ctrl+Enter>.
Note: To use this function you need to ...