Skip to content

Latest commit

 

History

History
61 lines (37 loc) · 1.71 KB

Excel.WorksheetFunction.Quartile_Inc.md

File metadata and controls

61 lines (37 loc) · 1.71 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
WorksheetFunction.Quartile_Inc method (Excel)
vbaxl10.chm137378
vbaxl10.chm137378
Excel.WorksheetFunction.Quartile_Inc
7febaae3-28f7-5bdb-0c20-f47dfd3c4227
05/24/2019
medium

WorksheetFunction.Quartile_Inc method (Excel)

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.

Syntax

expression.Quartile_Inc (Arg1, Arg2)

expression A variable that represents a WorksheetFunction object.

Parameters

Name Required/Optional Data type Description
Arg1 Required Variant Array - the array or cell range of numeric values for which you want the quartile value.
Arg2 Required Double Quart - The value to return.

Return value

Double

Remarks

The following table describes the values that can be used for Arg2.

If quart equals Quartile returns
0 Minimum value
1 First quartile (25th percentile)
2 Median value (50th percentile)
3 Third quartile (75th percentile)
4 Maximum value

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, Median, and Max return the same value as Quartile_Inc when quart is equal to 0 (zero), 2, and 4, respectively.

[!includeSupport and feedback]