QUOTIENT function
QUOTIENT does integer division and returns the whole-number part, dropping the remainder. For example, it tells you how many full boxes you can fill. Pair it with MOD for the remainder.
Example
Read it as a sentence: divide the value in D1 by 3 and keep only the whole number part, which gives 0.
Excel shows 0
D
1
Data
Syntax
QUOTIENT(numerator, denominator)
-
numerator(required) - The number to divide.
-
denominator(required) - The number to divide by.
Returns: The whole-number part of the division, with the remainder dropped.
What Excel actually returns
Each formula below was run in desktop Excel. The result is exactly what the cell showed, errors included.
| Formula | Excel shows | Case |
|---|---|---|
=QUOTIENT(10,3) | 3 | 10,3 |
=QUOTIENT(-10,3) | -3 | -10,3 truncates |
=QUOTIENT(5.5,2) | 2 | Decimals 5.5,2 |
=QUOTIENT("10","3") | 3 | Text number |
=QUOTIENT(Data!D1,3) | 0 | Blank number |
=QUOTIENT(10,0) | #DIV/0! | Divisor 0 |
=QUOTIENT("a",3) | #VALUE! | Text |
=QUOTIENT(Data!A1:A5,2) | #VALUE! | Spill |
The Data sheet these formulas read
A cell that starts with = holds that formula.
A
D
1
1
2
2
3
3
4
4
5
5
Data
Watch out for
- It truncates toward zero, so -7/2 gives -3.
- Zero denominator returns #DIV/0!.
Where it works
- Excel
- QUOTIENT is in every version of Excel from 2007 on.
- Google Sheets
- Same name, same behaviour for everyday use.
Part of Math and trig functions. Every result on this page was measured in desktop Excel, build 16.0.20527. Last updated .