SpreadJS 13
SpreadJS Documentation / Formula Reference / Formula Functions / PERCENTILE.INC
In This Topic
    PERCENTILE.INC
    In This Topic

    This function returns the kth percentile of values in a range where k is between 0..1, inclusive.

    Syntax

    PERCENTILE.INC(array,k)

    Arguments

    This function has these arguments:

    Argument Description
    array Array of values representing the data
    k Value representing the percentile value between 0 and 1

    Remarks

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

    Data Types

    Accepts numeric data for both arguments. Returns numeric data.

    Examples

    PERCENTILE.INC(A1:A12,0.95)

    PERCENTILE.INC(R1C1:R1C45,0.866)

    PERCENTILE.INC({5,15,25,50,65},0.45) gives the result 5