Example 1
Whole cartons from a quantity
C2 =QUOTIENT(A2,B2)
Result: 5
250 / 48 is 5.21. QUOTIENT keeps the 5.
C2 =QUOTIENT(A2,B2) returns 5
Returns the whole-number part of a division and throws the remainder away. QUOTIENT(250, 48) is 5.
Syntax
=QUOTIENT(, )
All versions of Excel.
Try it
Edit the formula in C2 or change the inputs. The sheet recalculates as you type.
C2 =QUOTIENT(A2,B2) returns 5
QUOTIENT divides one number by another and keeps only the whole-number part of the answer. =QUOTIENT(250, 48) is 5, because 48 goes into 250 five times. The remainder, 10, is dropped.
Every division with a remainder splits into two pieces: how many whole times the divisor fits, and what is left. QUOTIENT returns the first and MOD returns the second. For 135 minutes, =QUOTIENT(135, 60) gives 2 hours and =MOD(135, 60) gives 15 minutes.
=QUOTIENT(units, per_carton).=QUOTIENT(B2, 60), =QUOTIENT(B2, 12).=QUOTIENT(days, 7).=QUOTIENT(137-1, 25)+1.QUOTIENT truncates towards zero, so =QUOTIENT(-7, 2) returns -3. INT rounds down instead, so =INT(-7/2) returns -4. If your data never goes negative the two are interchangeable, but check before you swap them in a workbook with credits or negative balances. ROUNDDOWN with 0 digits matches QUOTIENT for negatives too.
=INT(B2/C2) gives the same result for positive numbers, with a division you can see.=ROUNDDOWN(B2/C2, 0) also matches for any sign.QUOTIENT returns #DIV/0! when the denominator is 0, and #VALUE! for text. It works on decimals: =QUOTIENT(7.5, 2) is 3. If you need the fractional part, use MOD or subtract: =B2/C2-QUOTIENT(B2, C2).
In very old versions of Excel (2003 and earlier) QUOTIENT required the Analysis ToolPak add-in. In every version in use today it is built in.
B2.12 or C2. If it is 0, QUOTIENT returns #DIV/0!.Each example is a live sheet. Change the inputs or the formula and watch the result.
Example 1
C2 =QUOTIENT(A2,B2)
Result: 5
250 / 48 is 5.21. QUOTIENT keeps the 5.
C2 =QUOTIENT(A2,B2) returns 5
Example 2
C2 =QUOTIENT(A2,B2)
Result: -3
-7 / 2 is -3.5. QUOTIENT cuts it to -3, where INT(-7/2) would give -4.
C2 =QUOTIENT(A2,B2) returns -3
Example 3
B2 =QUOTIENT(A2,60)
Result: 2
Pair it with MOD(A2,60) to get the 15 leftover minutes.
B2 =QUOTIENT(A2,60) returns 2
Example 4
C2 =QUOTIENT(A2,B2)
Result: 3
7.5 / 2 is 3.75, and the .75 is dropped.
C2 =QUOTIENT(A2,B2) returns 3
Example 5
C2 =QUOTIENT(A2,B2)
Result: #DIV/0!
Guard blank denominators with IF(B2=0, "", QUOTIENT(A2,B2)).
C2 =QUOTIENT(A2,B2) returns #DIV/0!
Solve it in the sheet. Every answer is checked, with hints if you need them.
Task 1 of 2
In C2, return the complete hours in the minutes in B2. Fill it down to C6.
Answer in C2, then it fills down to C6.
#DIV/0!. Guard the formula with IF or IFERROR.=A2/B2.#VALUE!. Keep units out of the number cell.It returns the integer part of a division and drops the remainder. QUOTIENT(250, 48) is 5.
They agree for positive numbers. For negatives QUOTIENT truncates towards zero (-3 for -7/2) and INT rounds down (-4).
Use MOD. `=QUOTIENT(135, 60)` is 2 hours and `=MOD(135, 60)` is 15 minutes.
Use `=QUOTIENT(A2, 60)` for hours and `=MOD(A2, 60)` for the minutes left over.
No. It cuts the decimals off. QUOTIENT(5, 3) is 1, even though 5/3 is 1.67, which would round to 2.
Tracks take you from the basics to modelling, one graded exercise at a time.