Find the remainder of an integer division.
The MOD function returns the remainder after dividing a number by a divisor. Its syntax is =MOD(number, divisor). For example, =MOD(10,3) returns 1 because 10 = 3×3 + 1. Great for checking whether a number is even (remainder = 0).
Calculate the remainder when dividing A1 by B1 and place the result in C1.
Click cell C1, type your formula and press Enter.
| A | B | C | D | E | |
|---|---|---|---|---|---|
| Number | Divisor | Remainder | |||
| 1 |
77
|
9
|
|||
| 2 | |||||
| 3 | |||||
| 4 | |||||
| 5 | |||||
| 6 |