QUARTILE Excel Function

QUARTILE Function in Excel

It is one of the statistical functions of Excel. The functions are used to find the various quartiles of a data set. A quartile is just a quantile. There are 3 quartiles; the first quartile (Q1) is the middle number between the smallest value and the median value of a data set. The second quartile (Q2) is the median of the data. The third quartile (Q3) is the middle value between the median of the data set and the highest value. Along with quartiles, It can also return the minimum and the maximum value of the data set. The first quartile Q1 divides the lowes


The syntax of the QUARTILE formula is as follows:



As it is clear from the syntax shown above, it has two mandatory parameters, which are explained below:

Data: The first parameter is a data set, which will be required to find out the quartile.

Quartile: The second parameter defines the type of quartile to be returned by the QUARTILE in excel. QUARTILE parameter can have any value from 0 to 4. Depending on the value of the Quartile parameter, the Quartile function returns the respective quartile.


In this section, we will understand the uses of the QUARTILE function in excel and will look at a few examples with the help of actual data.

Value of QuartileReturn Vaue
0Minimum Value
1First quartile (also known as 25th Percentile)
2Median Value (or 50th Percentile)
3Third Quartile or 75th Percentile
4Maximum Value
5 to any integer#NUM! Error

How to Use the QUARTILE Function in Excel?

This Function is very easy to use, and as explained in the previous section, QUARTILE fuses two mandatory parameters.

You can download this QUARTILE-Function-in-Excel here – QUARTILE-Function-in-Excel

QUARTILE in Excel – Example #1

Let’s consider the data set and apply the Quartile function on it on the basis of quartile values 0,1,2,3, and 4.

Example 1

QUARTILE in Excel – Example #2

Let’s take a larger data set this time, and we will try to find Q1, Q2, Q3, Minimum, and Maximum values.

Example #2
Example 2-1

Things to Remember

  1. It can be used as a worksheet function.
  2. It returns a numeric value.
  3. It was first introduced in Excel 2000 and is now available in all subsequent versions of excel.
  4. If the value of the Quartile parameter is greater than 4 or less than 0, the function returns a #NUM! Error.
  5. QUARTILE formulaQUARTILE FormulaQuartile Formula is a statistical tool to calculate the variance from the given data by dividing the same into four defined intervals. First Quartile could be calculated as follows: (Q1) = ((n + 1)/4)th Term.read more through #NUM! error if the given array is empty.
  6. QUARTILE function #VALUE! Error if the given value of quart is non-numeric.

QUARTILE Excel Function Video


Recommended Articles

This has been a guide to QUARTILE Function in Excel. Here we will learn how to use QUARTILE in excel along with excel example and downloadable excel templates. You may also look at these useful functions in excel –

  • 35+ Courses
  • 120+ Hours
  • Full Lifetime Access
  • Certificate of Completion