tech on the net
Home About Us Feedback Site Map

Microsoft

Access Excel Word

Database

SQL Oracle / PLSQL SQL Server MySQL MariaDB PostgreSQL

Web Development

HTML CSS Color Picker

Language

C Language

More

ASCII Table Linux UNIX Java Clipart Joke of the Moment
Share this page:

MS Excel: QUARTILE Function (WS)

Learn 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.

Syntax

The syntax for the Microsoft Excel QUARTILE function is:

QUARTILE( array, nth_quartile )

Parameters or Arguments

array is a range or array from which you want to return the nth quartile.

nth_quartile is 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

Note

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

Applies To

The QUARTILE function can be used in the following versions of Microsoft Excel:

  • Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Excel Function

The QUARTILE function can be used in Microsoft Excel as the following 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 spreadsheet above, the following Excel QUARTILE examples would return:

=QUARTILE(A2:A6, 0) would return 5.4
=QUARTILE(A2:A6, 1) would return 7.2
=QUARTILE(A2:A6, 2) would return 8.1
=QUARTILE(A2:A6, 3) would return 10.5
=QUARTILE(A2:A6, 4) would return 200
=QUARTILE({7,8,9,10}, 0) would return 7
=QUARTILE({7,8,9,10}, 1) would return 7.75
=QUARTILE({7,8,9,10}, 2) would return 8.5
=QUARTILE({7,8,9,10}, 3) would return 9.25
=QUARTILE({7,8,9,10}, 4) would return 10