Returns a number rounded to the nearest specified multiple.
Hàm này hoạt động trong Google Sheets giống như trong Excel — cùng cú pháp và đối số.
MROUND(number, multiple)MROUND rounds a number up or down to the nearest multiple of the provided argument. If the remainder of dividing the number by the multiple is greater than or equal to half the value of the multiple, the function rounds away from zero.
=MROUND(10, 3)Kết quả: 9
10 is rounded to the nearest multiple of 3, which is 9.
=MROUND(11, 3)Kết quả: 12
11 is rounded to the nearest multiple of 3, which is 12.
MROUND will return a #NUM! error if the number and multiple have different signs.