WorksheetFunction.Percentile_Inc (Excel)

Returns the k-th percentile of values in a range. You can use this function to establish a threshold of acceptance. For example, you can examine candidates who score above the 90th percentile.

If array is empty, Percentile_Inc returns the #NUM! error value. If k is nonnumeric, Percentile_Inc returns the #VALUE! error value. If k is < 0 or if k > 1, Percentile_Inc returns the #NUM! error value. If k is not a multiple of 1/(n - 1), Percentile_Inc interpolates to determine the value at the k-th percentile.

Percentile_Inc (Arg1, Arg2)


Dim dblArg2 As Double: dblArg2 = 
Dim dblPercentile_Inc As Double
dblPercentile_Inc = WorksheetFunction.Percentile_Inc(Arg1:=, Arg2:=dblArg2)

Arguments

Arg1, Arg2

Arg1 - Array - The array or range of data that defines relative standing

Arg2 (Double) - K - The percentile value in the range 0..1, inclusive.