Returns the remainder after a number is divided by a divisor.
Hàm này hoạt động trong Google Sheets giống như trong Excel — cùng cú pháp và đối số.
MOD(number, divisor)The MOD function calculates the remainder of a division operation. The result has the same sign as the divisor.
=MOD(10, 3)Kết quả: 1
10 divided by 3 is 3 with a remainder of 1.
=MOD(15, 4)Kết quả: 3
15 divided by 4 is 3 with a remainder of 3.
The MOD function will return a #DIV/0! error.