Percentile inc
PERCENTILE.INC Function¶
The PERCENTILE.INC function in Excel is used to return the k-th percentile of a data set, where k is a
percentile value between 0 and 1 (inclusive). This function is commonly used in statistical analysis to understand the
distribution of data or to find specific thresholds.
Key Features of PERCENTILE.INC:¶
- Inclusive Percentiles: Allows calculations that include the 0th and 100th percentiles, unlike
PERCENTILE.EXCwhich excludes them. - Data Analysis Tool: Useful for identifying key metrics such as top percentages (e.g., the 90th percentile) or median values (50th percentile).
- Works with All Dataset Sizes: Can handle various dataset sizes provided there is enough data to calculate the specified percentile.
Syntax:¶
- array: Required. The range of data or array of numeric values.
- k: Required. A numerical value between
0and1(inclusive), indicating the desired percentile.
How It Works:¶
The PERCENTILE.INC function interpolates between values in the dataset to calculate the percentile value. For a
dataset
with n data points:
- The dataset must be sorted (Excel handles this automatically during computation).
- If
kspecifies a fractional rank, the function uses interpolation to estimate the percentile value. -
If
kcorresponds to an exact rank in the dataset, the corresponding element is returned. -
If
kis outside the range[0, 1], Excel will return a#NUM!error.
Examples:¶
-
Basic Example: To calculate the 90th percentile of a dataset in
Result: Returns the value at the 90th percentile of the data inA1:A10:A1:A10. -
Median Value: To calculate the 50th percentile (median) for
Result:{3, 5, 7, 9, 11}:7, which is the exact middle value. -
Interpolated Result: If the dataset is
Result: An interpolated value (~23.2, depending on the data).{10, 20, 30, 40, 50}, to find the 33rd percentile: -
Usage with Named Range: Assuming you have named the range
Result: Returns the value corresponding to the 25th percentile ofScoresand want to find the 25th percentile:Scores.
Notes:¶
- Range Check:
- The
kvalue must always be between0and1inclusive. - If
k < 0ork > 1, Excel will return a#NUM!error.
- The
- Empty Datasets:
- If
arrayis empty or has insufficient data, a#NUM!error will be produced.
- If
- Handling Non-Numeric Data:
- Non-numeric values in the range will cause errors during calculation.
- Automatic Sorting:
- The function automatically sorts the dataset internally without requiring manual intervention.
Applications:¶
- Business: Identify customer purchase thresholds to classify into percentiles.
- Education: Find percentile-based grading cutoffs (e.g., 90th percentile top performers).
- Finance: Analyze investment returns for specific percentile ranges.
- Research: Pinpoint specific thresholds in experimental data distributions.
Tip: Use
PERCENTILE.EXCif you need exclusive percentiles (excluding 0th and 100th percentiles), orQUARTILE.INCfor predefined percentile quartiles.