The Excel QUARTILE.INC function returns the quartile (each of four equal groups) for a given set of data. QUARTILE.INC can return minimum value, first quartile, second quartile, third quartile, and max value. Starting with Excel 2010, the QUARTILE.INC function replaces the QUARTILE function with the same behavior.
Syntax:= QUARTILE.INC (array, quart)
The QUARTILE.INC function syntax has the following arguments:
- Array (required argument) – This is the array or cell range of data values for which we want the quartile value.
- Quart (required argument) – It indicates which value shall be returned. It is an integer between 0 and 4, representing the required quartile.
Example: Let’s look at some Excel QUARTILE.INC function examples and explore how to use the QUARTILE.INC function as a worksheet function in Microsoft Excel:
Suppose we are given the following revenue figures:
QUARTILE.INC can return the minimum value, first quartile, second quartile, third quartile, and max value. The function accepts five values for the quart argument, as shown below:
Based on the Excel spreadsheet above, the following QUARTILE.INC examples would return:
- #NUM! error – Occurs if either:
- The given value of quart is < 0 or > 4; or
- The given array is empty.
- #VALUE! error – Occurs if the given value of quart is non-numeric.
- From Excel 2010, the QUARTILE.EXC and QUARTILE.INC functions would replace the QUARTILE function, which is now classified as a compatibility function.
- The QUARTILE.INC and QUARTILE.EXC functions both find a requested quartile of a supplied data set. The difference between these two functions is that QUARTILE.INC bases its calculation on a percentile range of 0 to 1 inclusive, whereas QUARTILE.EXC bases its calculation on a percentile range of 0 to 1 exclusive.
- If the requested quartile falls between two of the values in the supplied array, MS Excel interpolates between these values to calculate the quartile value.