編輯

共用方式為


WorksheetFunction.Quartile_Inc(Object, Double) Method

Definition

Returns the quartile of a data set based on percentile values from 0..1, inclusive. Quartiles often are used in sales and survey data to divide populations into groups. For example, you can use QUARTILE_INC to find the top 25 percent of incomes in a population.

public:
 double Quartile_Inc(System::Object ^ Arg1, double Arg2);
public double Quartile_Inc (object Arg1, double Arg2);
Public Function Quartile_Inc (Arg1 As Object, Arg2 As Double) As Double

Parameters

Arg1
Object

Array - the array or cell range of numeric values for which you want the quartile value.

Arg2
Double

Quart - The value to return.

Returns

Remarks

If array is empty, Quartile_Inc returns the #NUM! error value.

If quart is not an integer, it is truncated.

If quart < 0 or if quart > 4, Quartile_Inc returns the #NUM! error value.

Min(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object), Median(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object), and Max(Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object, Object) return the same value as Quartile_Inc when quart is equal to 0 (zero), 2, and 4, respectively.

Applies to