QUARTILE.EXC Function
Returns quartile 1, 2, or 3 using the exclusive method (endpoints excluded).
Syntax
Parameters
| Parameter | Description | Required |
|---|---|---|
| array | The range or array of numeric values. | Required |
| quart | Quartile to return: 1 (first), 2 (median), or 3 (third) only. Values 0 or 4 cause #NUM!. | Required |
Basic Example
Median via the exclusive method
=QUARTILE.EXC({1,2,3,4,5,6,7,8}, 2)Exclusive rank = 0.5*(8+1) = 4.5; interpolate between the 4th (4) and 5th (5) values: 4.5.
Advanced Examples
Example 1: First quartile excludes endpoints
25th percentile of eight valuesEquivalent to PERCENTILE.EXC with k = 0.25, using rank k*(n+1).
=QUARTILE.EXC({1,2,3,4,5,6,7,8}, 1)Example 2: quart = 0 or 4 is invalid
Why the endpoints are rejectedThe exclusive method only supports quart 1, 2, and 3.
=QUARTILE.EXC({1,2,3,4,5,6,7,8}, 0)How QUARTILE.EXC Works
QUARTILE.EXC uses the exclusive (EXC) method, internally equivalent to PERCENTILE.EXC(array, quart/4). It accepts only quart 1, 2, or 3 and computes a rank as k*(n+1) where k = quart/4. Because the method is exclusive, the result always lies strictly between the minimum and maximum, and quart 0 or 4 returns #NUM!. Values are interpolated when the rank is fractional. Text and logical values are ignored.
Important Notes & Limitations
Only quart 1, 2, and 3 are valid; quart 0 or 4 cause #NUM!.
Interpolates, so results generally are not actual data values.
Ignores text and logical values.
Common Errors & Fixes
#NUM! errorquart is 0 or 4 (or outside 1..3), or the array is too small.Fix: Use quart 1, 2, or 3; for the min/max use QUARTILE.INC instead.
Result differs from QUARTILE.INCDifferent interpolation formulas.Fix: Choose .INC when endpoints are needed; .EXC otherwise.
Download Practice File
QUARTILE.EXC
quartile-excPractice QUARTILE.EXC with Real Data
Download a sample CSV file with pre-populated data and practice exercises for the QUARTILE.EXC function. Works in both Excel and Google Sheets.
File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps