Public Function Quartile( _
      ByVal vQuartile As Variant _
    , ParamArray vValues() As Variant _
    ) As Variant    Quartile(0, 12, 34, 56) = 12
    Quartile(1, 12, 34, 56) = 23
    Quartile(2, 12, 34, 56) = 34
    Quartile(3, 12, 34, 56) = 45
    Quartile(4, 12, 34, 56) = 56
    Quartile(0, 12, 34, 56) = Minimum(12, 34, 56)
    Quartile(2, 12, 34, 56) = Median(12, 34, 56)
    Quartile(4, 12, 34, 56) = Maximum(12, 34, 56)See also:     Percentile Function
    Minimum Function
    Median Function
    Maximum Function
    QUARTILE Function (Microsoft Excel)vQuartile: The quartile whose corresponding value will be returned. Must be between 0 and 4 inclusive. vQuartile is truncated to an integer. Copyright 1996-1999 Entisoft
Entisoft Tools is a trademark of Entisoft.