Excel PERCENTILE.INC Function
The Excel PERCENTILE.INC function returns the k-th percentile of the values in a given range. The k is from 0 to 1, including 0 and 1.
The PERCENTILE.INC function returns a numeric value.
- PERCENTILE.INC returns the #VALUE! error value if k is not numeric.
- PERCENTILE.INC returns the #NUM! error value if:
- k < 0 or k > 1;
- array is empty.
- If the requested quartile falls between two of the values in the array, PERCENTILE.INC will interpolate and return an intermediate value.
To get the 90th, 70th, 50th percentiles of the array as shown below, please copy or enter the formula below in the top cell F5, and press Enter to get the first result:
√ Note: The dollar signs ($) above indicate absolute references, which means the array argument in the formula won't change when you move or copy the formula to other cells. However, there are no dollar signs added to k since you want it to be dynamic. After entering the formula, drag the fill handle down to apply the formula to the below cells.
PERCENTILE.INC VS. PERCENTILE.EXC
- PERCENTILE.INC includes the full range of 0 to 1 as valid k values;
- PERCENTILE.EXC excludes percentages from 0 to 1/(n+1) and from n/(n+1) to 1 as k values, the n in which is the number of elements in array.