MOD

Returns the result of the modulo operator, the remainder after a division operation.

Sample Usage

MOD(10,4)

MOD(A2,B2)

Syntax

MOD(dividend, divisor)

  • dividend - The number to be divided to find the remainder.

  • divisor - The number to divide by.

Notes

The MOD function also applies on non-integer numbers but may result in an approximate result due to the use of floating point arithmetic. You can use the ROUND function to round the output up or down to get the expected result.

Examples

Was this helpful?
How can we improve it?
Search
Clear search
Close search
Google apps
Main menu
Search Help Center
true
true
true
35
false
false