totn Excel Functions

MS Excel: How to use the QUARTILE Function (WS)

This Excel tutorial explains how to use the Excel QUARTILE function with syntax and examples.

Description

The Microsoft Excel QUARTILE function returns the quartile from a set of values.

The QUARTILE function is a built-in function in Excel that is categorized as a Statistical Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the QUARTILE function can be entered as part of a formula in a cell of a worksheet.

Syntax

The syntax for the QUARTILE function in Microsoft Excel is:

QUARTILE( array, nth_quartile )

Parameters or Arguments

array
A range or array from which you want to return the nth quartile.
nth_quartile

The quartile value that you wish to return. It can be one of the following values:

Value Explanation
0 Smallest value in the data set
1 First quartile (25th percentile)
2 Second quartile (50th percentile)
3 Third quartile (75th percentile)
4 Largest value in the data set

Returns

The QUARTILE function returns a numeric value.

Note

  • If nth_quartile is not an integer, it will be truncated.

Applies To

  • Excel for Office 365, Excel 2019, Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Function

  • Worksheet function (WS)

Example (as Worksheet Function)

Let's look at some Excel QUARTILE function examples and explore how to use the QUARTILE function as a worksheet function in Microsoft Excel:

Microsoft Excel

Based on the Excel spreadsheet above, the following QUARTILE examples would return:

=QUARTILE(A2:A6, 0)
Result: 5.4

=QUARTILE(A2:A6, 1)
Result: 7.2

=QUARTILE(A2:A6, 2)
Result: 8.1

=QUARTILE(A2:A6, 3)
Result: 10.5

=QUARTILE(A2:A6, 4)
Result: 200

=QUARTILE({7,8,9,10}, 0)
Result: 7

=QUARTILE({7,8,9,10}, 1)
Result: 7.75

=QUARTILE({7,8,9,10}, 2)
Result: 8.5

=QUARTILE({7,8,9,10}, 3)
Result: 9.25

=QUARTILE({7,8,9,10}, 4)
Result: 10