The MOD function

Returns the remainder after division. The result has the same sign as the divisor.

Syntax

MOD(number, divisor)
number
The number to divide.
divisor
The number to divide by.

Examples

B1=MOD(10,3)
AB
11

In plain words: The remainder when 10 is divided by 3.

B1=MOD(-3,4)
AB
11

Read the guide

Related functions