13.2 C
London
Tuesday, July 2, 2024
HomeExcelDescriptive Statistics in ExcelPERCENTILE.EXC vs. PERCENTILE.INC in Excel: What’s the Difference?

PERCENTILE.EXC vs. PERCENTILE.INC in Excel: What’s the Difference?

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

The nth percentile of a dataset is the value that cuts off the first n percent of the data values when all of the values are sorted from least to greatest.

For example, the 90th percentile of a dataset is the value that cuts of the bottom 90% of the data values from the top 10% of data values.

There are three different functions you can use to calculate percentiles in Excel:

1. PERCENTILE.EXC: This function returns the kth percentile of a dataset, excluding the values 0 and 1.

2. PERCENTILE.INC: This function returns the kth percentile of a dataset, including the values 0 and 1.

3. PERCENTILE: This function returns the kth percentile of a dataset as well. It will return the exact same value as the PERCENTILE.INC function.

The following example shows how to use the various PERCENTILE functions in Excel.

Example: PERCENTILE.EXC vs. PERCENTILE.INC in Excel

Suppose we have the following dataset in Excel:

The following screenshot shows how to calculate the 20th percentile for the dataset using the three different percentile formulas:

Using the PERCENTILE or PERCENTILE.INC functions, we calculate the 20th percentile to be 6.

Using the PERCENTILE.EXC function we calculate the 20th percentile to be 5.4.

When to Use PERCENTILE.EXC vs. PERCENTILE.INC

In almost all cases, it makes more sense to use the PERCENTILE.INC function because this function includes the values 0 and 1 when calculating the percentiles.

It’s also worth nothing that both the R programming language and the Python programming language use formulas to calculate percentiles that match the PERCENTILE.INC function in Excel.

The following tutorials explain how to calculate the percentiles of a dataset in both R and Python:

No matter which function you use to calculate percentiles, the difference between the values calculated by PERCENTILE.INC and PERCENTILE.EXC will be very similar in most cases.

In some cases, it’s even possible that the two functions will return the same values depending on the sequence of numbers in the dataset.

Additional Resources

STDEV.P vs. STDEV.S in Excel: What’s the Difference?
VAR.P vs. VAR.S in Excel: What’s the Difference?
Percentile vs. Quartile vs. Quantile: What’s the Difference?

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories