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

Need it for your exact data?

Describe your columns in plain English and get the precise formula for your sheet, with the right Excel or Sheets syntax.

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

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

Last reviewed: