MOD function

Category: Math and trigonometry
Introduced: Excel 2003

Summary

Returns the remainder from division

Syntax

MOD(number, divisor) The MOD function syntax has the following arguments:
• Number Required. The number for which you want to find the remainder.
• Divisor Required. The number by which you want to divide number.

Example

=MOD(3, 2)
=MOD(-3, 2)
=MOD(3, -2)
=MOD(-3, -2)

Microsoft Support Page

https://support.microsoft.com/en-us/office/mod-function-9b6cd169-b6ee-406a-a97b-edf2a9dc24f3

Back to Functions