When MOD returns zero, the expression returns TRUE and the conditional formatting applies.

When MOD returns any other result, the expression returns FALSE conditional formatting is not applied.

For example, MOD(10,3) = 1.

Excel formula: Highlight values greater than

The result of MOD carries the same sign as the divisor.

Excel formula: Highlight values not between X and Y

Excel MOD function

Article image

Article image

Article image

Article image