MROUND
If this function is not available, and returns the #NAME? error, install and load the Analysis ToolPak add-in.
MROUND(number,multipl)
A B
Formula Description (Result)
=MROUND(10, 3) Rounds 10 to a nearest multiple of 3 (9)
=MROUND(-10, -3) Rounds -10 to a nearest multiple of -3 (-9)
=MROUND(1.3, 0.2) Rounds 1.3 to a nearest multiple of 0.2 (1.4)
=MROUND(5, -2) Returns an error, because -2 and 5 have different signs (#NUM!)
Mohsen Mahmoud
MROUND.rar