Returns the remainder after a division operation
Syntax
MOD(dividend, divisor)
- dividend—The number to divide
- divisor—The number in which to divide the dividend
Sample usage
MOD(27, 12)
Examples
Formula | Description | Result |
---|---|---|
=MOD(27, 12) | Calculates the remainder when 27 is divided by 12. | 3 |
=MOD(100, 30) | Finds the remainder when 100 is divided by 30. | 10 |
=MOD(18, 7) | Calculates the remainder of 18 divided by 7. | 4 |
=MOD(-15, 6) | Finds the remainder when -15 is divided by 6, using a positive divisor. | -3 |
Still need help?
If you have an Enterprise plan, you can use AI to help with formula creation.
Use the Formula Handbook template to find more support resources and view 100+ formulas, including a glossary of every function that you can practice working with in real-time and examples of commonly used and advanced formulas.
You can find examples of how other Smartsheet customers use this function or ask about your specific use case in the Smartsheet online Community.