WorksheetFunction.Quartile_Inc Method
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.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Quartile_Inc ( _
Arg1 As Object, _
Arg2 As Double _
) As Double
'Usage
Dim instance As WorksheetFunction
Dim Arg1 As Object
Dim Arg2 As Double
Dim returnValue As Double
returnValue = instance.Quartile_Inc(Arg1, _
Arg2)
double Quartile_Inc(
Object Arg1,
double Arg2
)
Parameters
Arg1
Type: System.ObjectArray - the array or cell range of numeric values for which you want the quartile value.
Arg2
Type: System.DoubleQuart - The value to return.
Return Value
Type: System.Double
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.