FormulaCraft

MOD vs QUOTIENT: remainder vs whole-number division in Excel and Sheets

Excel & Google Sheets
=MOD(A2,B2)

Verified example

Computed by a real spreadsheet engine on the sample data below.

DividendDivisor
175

=MOD(A2,B2)2

Try it with your data

Edit the grid or formula, then run it through a real spreadsheet engine — no signup.

Sample data — click any cell to edit

Runs server-side · free · no signup

Step by step

  1. 1MOD(17, 5) returns the remainder — here 2.
  2. 2QUOTIENT(17, 5) returns the whole-number part — 3.
  3. 3Use MOD for cycles (every nth row, odd/even) and QUOTIENT for how-many-whole-groups.

Tips

Working on a sheet you inherited? Run the Auditor on the whole file first — it flags every #REF!, #N/A, broken column pattern, and inconsistent formula in seconds, free, no signup.

Frequently asked

What does MOD return with a negative number?

In Excel and Sheets, MOD takes the sign of the divisor, so MOD(-17, 5) returns 3, not -2. Use care with negatives.

Formulas used

Related tasks

Written and reviewed by FormulaCraft Team. Each formula on this page is run through our verification engine before publishing.

Last reviewed: