Returns the remainder after a number is divided by a divisor.
This function works the same in Google Sheets as it does in Excel — same syntax and arguments.
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)Result: 1
10 divided by 3 is 3 with a remainder of 1.
=MOD(15, 4)Result: 3
15 divided by 4 is 3 with a remainder of 3.
The MOD function will return a #DIV/0! error.