PERCENTILE.EXC function
Returns the k-th percentile of values in a range, where k is in the range 0..1, exclusive.
Syntax
PERCENTILE.EXC(array,k)
The PERCENTILE.EXC function syntax has the following arguments:
-
Array Required. The array or range of data that defines relative standing.
-
K Required. The percentile value in the range 0..1, exclusive.
Remarks
-
If array is empty, PERCENTILE.EXC returns the #NUM! error value
-
If k is nonnumeric, PERCENTILE.EXC returns the #VALUE! error value.
-
If k is ≤ 0 or if k ≥ 1, PERCENTILE.EXC returns the #NUM! error value.
-
If k is not a multiple of 1/(n - 1), PERCENTILE.EXC interpolates to determine the value at the k-th percentile.
-
PERCENTILE.EXC will interpolate when the value for the specified percentile lies between two values in the array. If it cannot interpolate for the percentile, k specified, Excel will return #NUM! error.
Example
Copy the example data in the following table, and paste it in cell A1 of a new Excel worksheet. For formulas to show results, select them, press F2, and then press Enter. If you need to, you can adjust the column widths to see all the data.
Data | ||
1 | ||
2 | ||
3 | ||
6 | ||
6 | ||
6 | ||
7 | ||
8 | ||
9 | ||
Formula | Description | Result |
=PERCENTILE.EXC(A2:A10, 0.25) | Interpolates when the value for the specified percentile lies between two values in the array. | 2.5 |
=PERCENTILE.EXC(A2:A10, 0) | Because it can't interpolate for the specified percentile, Excel returns the #NUM! error message. | #NUM! |
=PERCENTILE.EXC(A2:A10, 0.01) | Because it can't interpolate for the specified percentile, Excel returns the #NUM! error message. | #NUM! |
=PERCENTILE.EXC(A2:A10, 2) | Because the percentile specified is greater than 1, Excel returns the #NUM! error message. | #NUM! |
No comments:
Post a Comment