
The quotient function returns the integer portion of a division.
Example, 5/2 = 2.5. The integer is 2.
1. QUOTIENT Function Syntax
QUOTIENT(numerator, denominator)
2. QUOTIENT Function Arguments
numerator |
Required. The dividend. |
denominator |
Required. The divisor. |
The QUOTIENT function returns the #VALUE! if the arguments are not numbers.
The following formula is equivalent to the QUOTIENT function:
=INT(numerator/denominator)
3. How to remove decimals from a division?

You are about to send your company products to customers. You have boxes you can send the products in.
You have 18 items of product A in your inventory (cell B2). The box for product A can hold up to 4 items (cell C2).

How many boxes do you need for product A?
Yes, you can build a formula for that but you don't need to do that, there is a function in Excel. Let me introduce the Quotient function.

The quotient function returns the integer portion of a division. Simple as that.
QUOTIENT(numerator, denominator)
There are two arguments, the numerator is the dividend and the denominator is the divisor.
The formula in cell D2:
=QUOTIENT(B2,C2)
returns 4.
If you divide 18 by 4, you get 4.5.
The Quotient function returns 4 because the integer part of 4.5 is 4.
Back to top
4. How to remove decimals from a number?
There is an Integer function also in excel so this formula gives the same result:
=INT(B2/C2)
The INT function rounds a number down to the nearest integer.
Back to top
5. How to calculate the remainder?

The next question is how many products are left? Believe it or not, there is a function for that too.
The Mod function returns the remainder after a number is divided by divisor.
Formula in cell E2:
=MOD(B2, C2)
18 divided by 4 is 4.5. The integer part of 4.5 is 4. 4 x 4 is 16. 18-16 is 2.
2 products are left.
You can use the mod function in a conditional formatting formula to highlight every n-th row:
Recommended articles
How to use the MOD functionThe Mod function returns the remainder after a number is divided by a divisor. The Mod function is short for […]
Back to top
6. Is there a division function in Excel?

There is no division function in Excel, however, you can use the slash character to calculate a division. The image above demonstrates a formula in cell C5 that divides the number in cell C2 with the number in cell C3.
Formula in cell C5:
=C2/C3
C2 and C3 are cell references.
C2/C3
becomes
100/5
and returns 20 in cell C5.
Back to top
7. How do you divide and round up in Excel?

The image above shows a formula in cell C5 that divides two numbers and then rounds up the result.
Formula in cell C5:
=ROUNDUP(C2/C3,0)
Explaining formula in cell C5
Step 1 - Division
The slash character lets you divide two numbers in an Excel formula.
C2/C3
becomes
100/6
and returns approx 16.6666666666667.
Step 2 - Round the number up to the nearest integer
The ROUNDUP function calculates a number rounded up based on the number of digits to which you want to round the number.
ROUNDUP(number, num_digits)
ROUNDUP(C2/C3,0)
becomes
ROUNDUP( 16.6666666666667,0)
and returns 17.
Back to top
8. How to find divisors of a number that return no remainders?

The formula in cell C4 shown in the image above is a dynamic array formula that automatically spills values to cells below. It calculates all divisors that can be used so the result returns a whole number based on the dividend specified in cell C2.
Example, number 5 returns no remainders. 100/5 = 20. The result is a whole number. Change the number in cell C2 and Excel automatically calculates divisors in cell C4 and cells below. There is a dividend limit of 1048576, you can't go higher than that.
Excel 365 formula in cell C4:
=FILTER(SEQUENCE(C2), MOD(C2,SEQUENCE(C2))=0)
The following formula is an array formula, it works for all previous Excel versions and returns the same numbers as the Excel 365 formula.
Array formula for previous Excel versions:
=SMALL(IF(MOD($C$2,SEQUENCE($C$2))=0,SEQUENCE($C$2),""),ROWS($A$1:A1))
How to enter an array formula
- Double press with left mouse button on with left mouse button on cell C4.
- Paste the formula.
- Press and hold CTRL + SHIFT keys simultaneously.
- Press Enter once.
- Release all keys.
Copy cell C4 and paste to cells below as far as needed. This is required if you are using the array formula.
Explaining Excel 365 formula in cell C4
Step 1 - Create a sequence
The SEQUENCE function returns an array containing a sequence of numbers.
SEQUENCE(C2)
becomes
SEQUENCE(100)
and returns {1; 2; 3; ... 98; 99; 100}. Not all numbers are shown in this sequence.
Step 2 - Calculate remainders
The MOD function returns the remainder of a division.
MOD($C$2,SEQUENCE($C$2))
becomes
MOD(100, {1; 2; 3; ... 98; 99; 100})
and returns {0 ;0 ;1 ; ... ; 2; 1; 0}.
Step 3 - Create a logical expression
The equal sign allows you to compare the numbers in the array to 0 (zero). The result is boolean values TRUE or FALSE.
MOD(C2,SEQUENCE(C2))=0
becomes
{0 ;0 ;1 ; ... ; 2; 1; 0}=0
and returns {TRUE ;TRUE ;FALSE; ... ; FALSE; FALSE; TRUE }.
Step 4 - Filter values based on logical expression
The FILTER function lets you extract values/rows based on a condition or criteria.
FILTER(SEQUENCE(C2), MOD(C2,SEQUENCE(C2))=0)
becomes
FILTER(SEQUENCE(C2), {TRUE ;TRUE ;FALSE; ... ; FALSE; FALSE; TRUE })
becomes
FILTER({1; 2; 3; ... 98; 99; 100}, {TRUE ;TRUE ;FALSE; ... ; FALSE; FALSE; TRUE })
and returns {1; 2; 4; 5; 10; 20; 25; 50; 100}.
Back to top
9. How to create a repeating sequence

The image above demonstrates a formula that returns repeating numbers in a sequence. The second argument determines how many times a number is repeated before moving on to the next number.
Formula in cell B3:
=QUOTIENT(ROWS($A$1:A1)-1,3)
Change the formula to this if you want the sequence to start with 1 instead of 0 (zero).
=QUOTIENT(ROWS($A$1:A4)-1,3)
Explaining formula in cell B3
Step 1 - Calculate a number that changes based on a relative and absolute cell ref
The ROWS function returns a number representing the number of rows in cell reference. Cell ref $A$1:A1 is a growing cell reference that changes when you copy the cell and paste to cells below.
It contains an absolute ($A$1) indicated by the dollar signs and a relative part (A1).
ROWS($A$1:A1)-1
becomes
1-1
amd returns 0 (zero).
Step 2 - Calculate quotient
QUOTIENT(numerator, denominator)
QUOTIENT(ROWS($A$1:A1)-1,3)
becomes
QUOTIENT(0,3)
and returns 0 (zero) in cell B3.
Back to top
Back to top
'QUOTIENT' function examples
The following 3 articles contain the QUOTIENT function.
How to use the MOD functionThe Mod function returns the remainder after a number is divided by a divisor. The Mod function is short for […]
Functions in this article
Functions in 'Math and trigonometry' category
The QUOTIENT function function is one of many functions in the 'Math and trigonometry' category.
Converts negative numbers to positive numbers.
Calculates the arccosine, or inverse cosine, of a number.
Calculates the inverse hyperbolic cosine of a number.
Calculates the inverse cotangent of a number.
Calculates the inverse hyperbolic cotangent of a number.
Perform different specific functions to a list or database.
Calculates the arcsine of a number.
Calculates the inverse hyperbolic sine of a number.
Calculates the arctangent of a number.
Calculates the arctangent of an angle using specific x- and y-coordinates.
Calculates the inverse hyperbolic tangent of a number.
Converts a number into a text representation with a given radix (base).
Rounds a number up to its nearest multiple.
Returns the number of combinations for a specific number of elements out of a larger group.
Calculates the number of combinations for a given number of elements from a larger group of elements.
Calculates the cosine of an angle.
Calculates the hyperbolic cosine of a number.
Calculates the cotangent of an angle specified in radians.
Calculates the hyperbolic cotangent of a hyperbolic angle.
Calculates the cosecant of an angle (radians).
Converts a text representation of a number in a given base into a decimal number.
Calculates degrees from radians.
Rounds a number up to the nearest even whole number.
Returns e raised to the power of a number, e equals 2.71828182845904.
Returns the factorial of a number.
Returns the double factorial of a number.
Rounds a number to the specified number of decimals, formats the number in decimal format using a period and commas, and returns the result as text.
Rounds a number down to the nearest integer or to the nearest multiple of significance.
Rounds a number down to the nearest integer or nearest multiple of significance.
Calculates the greatest common divisor that divides all given arguments without a remainder.
Removes the decimal part from positive numbers and returns the whole number (integer) except negative values are rounded down to the nearest integer.
Calculates the least common multiple. The least common multiple is the smallest positive integer that is a multiple of all integer arguments. Use the LCM function to find fractions with different denominators.
Lets you name intermediate calculation results which can shorten formulas considerably and improve performance.
Calculates the natural logarithm of a number. Natural logarithms are based on the constant e.
Calculates the logarithm of a number to a specific base.
Calculates the logarithm of a number using the base 10.
Calculates the inverse matrix for a given array.
Calculates the matrix product of two arrays, an array as the same number of rows as array1 and columns as array2.
Returns the remainder after a number is divided by divisor.
Calculates a number rounded to a given multiple.
Calculates the ratio of the factorial of a sum of values to the product of factorials.
Calculates the identity matrix for a given dimension
Returns the number pi (¶).
Calculates a number raised to a power.
Returns the product of the numbers given in the argument.
Returns the integer portion of a division.
Converts degrees to radians.
Calculates a random real number greater than or equal to 0 and less than 1.
Creates an array of random numbers
Returns a random whole number between the numbers you specify.
Rounds a number based on the number of digits you specify.
Rounds a number down based on the number of digits to which you want to round the number.
Calculates a number rounded up based on the number of digits to which you want to round the number.
Calculates the secant of an angle.
Calculates the hyperbolic secant of an angle.
Creates a list of sequential numbers.
Calculates the sum of a power series based on a formula.
Returns the sign of a number. 1 for a positiv number, 0 (zero) for a 0 (zero) and -1 for a negative number.
Calculates the sine of an angle.
Calculates the hyperbolic sine of a number.
Calculates the positive square root.
Returns a subtotal from a list or database, you can choose from a variety of arguments that determine what you want the function to do.
Allows you to add numerical values, the function returns the sum in the cell it is entered in. The SUM function is cleverly designed to ignore text and boolean values, adding only numbers.
Sums numerical values based on a condition.
Adds numbers based on criteria.
Calculates the product of corresponding values and then returns the sum of each multiplication.
Calculates the sum of the squares of the arguments.
Calculates the sum of the difference of squares of corresponding values in two arrays.
Calculates the sum of the sum of squares of corresponding values in two arrays.
Calculates the sum of squares of differences of corresponding values in two arrays.
Calculates the tangent of an angle.
Calculates the hyperbolic tangent of a number.
Removes the fractional part of the number to an integer.
Excel function categories
Excel functions that let you resize, combine, and shape arrays.
Functions for backward compatibility with earlier Excel versions. Compatibility functions are replaced with newer functions with improved accuracy. Use the new functions if compatibility isn't required.
Perform basic operations to a database-like structure.
Functions that let you perform calculations to Excel date and time values.
Let's you manipulate binary numbers, convert values between different numeral systems, and calculate imaginary numbers.
Calculate present value, interest, accumulated interest, principal, accumulated principal, depreciation, payment, price, growth, yield for securities, and other financial calculations.
Functions that let you get information from a cell, formatting, formula, worksheet, workbook, filepath, and other entitites.
Functions that let you return and manipulate logical values, and also control formula calculations based on logical expressions.
These functions let you sort, lookup, get external data like stock quotes, filter values based a condition or criteria, and get the relative position of a given value in a specific cell range. They also let you calculate row, column, and other properties of cell references.
You will find functions in this category that calculates random values, round numerical values, create sequential numbers, trigonometry, and more.
Calculate distributions, binomial distributions, exponential distribution, probabilities, variance, covariance, confidence interval, frequency, geometric mean, standard deviation, average, median, and other statistical metrics.
Functions that let you manipulate text values, substitute strings, find string in value, extract a substring in a string, convert characters to ANSI code among other functions.
Get data from the internet, extract data from an XML string and more.
Excel categories
Latest updated articles.
More than 300 Excel functions with detailed information including syntax, arguments, return values, and examples for most of the functions used in Excel formulas.
More than 1300 formulas organized in subcategories.
Excel Tables simplifies your work with data, adding or removing data, filtering, totals, sorting, enhance readability using cell formatting, cell references, formulas, and more.
Allows you to filter data based on selected value , a given text, or other criteria. It also lets you filter existing data or move filtered values to a new location.
Lets you control what a user can type into a cell. It allows you to specifiy conditions and show a custom message if entered data is not valid.
Lets the user work more efficiently by showing a list that the user can select a value from. This lets you control what is shown in the list and is faster than typing into a cell.
Lets you name one or more cells, this makes it easier to find cells using the Name box, read and understand formulas containing names instead of cell references.
The Excel Solver is a free add-in that uses objective cells, constraints based on formulas on a worksheet to perform what-if analysis and other decision problems like permutations and combinations.
An Excel feature that lets you visualize data in a graph.
Format cells or cell values based a condition or criteria, there a multiple built-in Conditional Formatting tools you can use or use a custom-made conditional formatting formula.
Lets you quickly summarize vast amounts of data in a very user-friendly way. This powerful Excel feature lets you then analyze, organize and categorize important data efficiently.
VBA stands for Visual Basic for Applications and is a computer programming language developed by Microsoft, it allows you to automate time-consuming tasks and create custom functions.
A program or subroutine built in VBA that anyone can create. Use the macro-recorder to quickly create your own VBA macros.
UDF stands for User Defined Functions and is custom built functions anyone can create.
A list of all published articles.
With INT formula you will get same result. =INT(B2/C2)
Sorry, I did not read carefully...
you also mentioned this function.
[…] More MOD examples: Learn how the MOD function works, Quotient, Mod and Int functions […]