# Google Sheets QUARTILE.EXC Function: Syntax, Examples & Tips

- URL: https://betteranalyst.com/google-sheets/quartile.exc-function
- Author: Better Analyst

Formula Bot is now Better Analyst—same account, more powerful analysis.Formula Bot is now Better Analyst—same account and workflows, with more powerful analysis, dashboards, and automation.

[Learn what changed](https://betteranalyst.com/formula-bot-is-now-better-analyst)

The QUARTILE.EXC function calculates the specified quartile of a dataset, excluding the median value for accurate statistical analysis.

```
QUARTILE.EXC(data, quartile_number)
```

Generate FormulaExplain Formula

One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.

Describe the QUARTILE.EXC you need in plain EnglishGenerate Formula

## Parameters

**`data`**:\
The range of cells containing the numeric data for which you want to calculate the quartile.

**`quartile_number`**:\
The quartile to return, which can be a number from 1 to 3, where 1 represents the first quartile (25th percentile), 2 represents the second quartile (50th percentile or median), and 3 represents the third quartile (75th percentile).

## What is QUARTILE.EXC?

The *QUARTILE.EXC* function in Google Sheets is a statistical tool used to calculate the quartiles of a dataset, excluding the minimum and maximum values. Quartiles are values that divide a dataset into four equal parts, providing insights into the distribution of the data. The *QUARTILE.EXC* function is particularly useful for understanding the spread and central tendency of a dataset, especially in statistical analysis.

In simpler terms, QUARTILE.EXC helps you determine the values that separate your data into quarters, allowing you to analyze the distribution and identify outliers.

## A Practical Example

Imagine you have a dataset of test scores for a class of students:

### Test Scores Table:

| StudentID | Score |
| - | - |
| 1 | 85 |
| 2 | 90 |
| 3 | 78 |
| 4 | 92 |
| 5 | 88 |
| 6 | 76 |
| 7 | 95 |
| 8 | 80 |

You want to find the first quartile (Q1), median (Q2), and third quartile (Q3) of the test scores to understand the performance distribution of the students.

## QUARTILE.EXC Formula

To achieve this, you would use the QUARTILE.EXC function as follows:

```
=QUARTILE.EXC(A2:A9, 1)  // For Q1
=QUARTILE.EXC(A2:A9, 2)  // For Q2 (Median)
=QUARTILE.EXC(A2:A9, 3)  // For Q3
```

In these formulas:

- `A2:A9` is the range containing the test scores.

- The second argument (1, 2, or 3) specifies which quartile to calculate:

  - `1` for the first quartile (Q1)
  - `2` for the median (Q2)
  - `3` for the third quartile (Q3)

## Result of the Formula

When you apply the QUARTILE.EXC formulas to the Test Scores Table, the output would look like this:

| Quartile | Value |
| - | - |
| Q1 | 78.5 |
| Q2 | 88 |
| Q3 | 90.5 |

This indicates that:

- The first quartile (Q1) is 78.5, meaning 25% of the students scored below this value.
- The median (Q2) is 88, indicating that half of the students scored below this value.
- The third quartile (Q3) is 90.5, meaning 75% of the students scored below this value.

## Why Use QUARTILE.EXC?

QUARTILE.EXC is beneficial because it provides a clear understanding of the distribution of your data. It helps identify trends, outliers, and the overall performance of a dataset. This function is particularly useful in educational settings, financial analysis, and any scenario where understanding data distribution is essential.

## Key Takeaways:

- **QUARTILE.EXC**: A function that calculates quartiles of a dataset, excluding the minimum and maximum values.
- **Data Distribution**: Helps in understanding the spread and central tendency of data.
- **Statistical Analysis**: Useful for identifying trends and outliers in datasets.
- **Common Use Cases**: Ideal for educational assessments, financial data analysis, and any scenario requiring data distribution insights.

QUARTILE.EXC is an essential function for anyone working with data in Google Sheets, providing a powerful way to enhance data analysis and reporting capabilities.

Happy spreadsheeting!

## Example use case

You have a dataset of sales figures in Column A. By using QUARTILE.EXC, you can determine the 1st, 2nd, and 3rd quartiles of sales performance. This helps identify top performers and areas needing improvement, facilitating data-driven decision-making.

## Need more help with Google Sheets formulas?

Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.

[Create Free Account](https://betteranalyst.com/signup)[Try Formula Generator](https://betteranalyst.com/excel-ai)

## Google Sheets how-to guides

- [How To Make A Line Graph In Google Sheets](https://betteranalyst.com/google-sheets/how-to-make-a-line-graph-in-google-sheets)
- [How To Make A Pie Chart In Google Sheets](https://betteranalyst.com/google-sheets/how-to-make-a-pie-chart-in-google-sheets)
- [How To Make A Table In Google Sheets](https://betteranalyst.com/google-sheets/how-to-make-a-table-in-google-sheets)
- [How To Merge Cells In Google Sheets](https://betteranalyst.com/google-sheets/how-to-merge-cells-in-google-sheets)
- [How To Multiply In Google Sheets](https://betteranalyst.com/google-sheets/how-to-multiply-in-google-sheets)
- [How To Password Protect An Google Sheets File](https://betteranalyst.com/google-sheets/how-to-password-protect-an-google-sheets-file)
- [How To Remove Blank Rows In Google Sheets](https://betteranalyst.com/google-sheets/how-to-remove-blank-rows-in-google-sheets)
- [How To Remove Duplicates In Google Sheets](https://betteranalyst.com/google-sheets/how-to-remove-duplicates-in-google-sheets)

## Explore all Google Sheets formulas

Browse our complete library of Google Sheets formula guides

Compare your options

## Decide with evidence, not a sales pitch.

Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.

1. [01ChatGPTOpen a balanced comparison prompt in ChatGPT.](https://chatgpt.com/?prompt=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)
2. [02ClaudeOpen the same research prompt in Claude.](https://claude.ai/new?q=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)
3. [03PerplexityResearch the comparison with linked web sources.](https://www.perplexity.ai/search?q=Compare%20Better%20Analyst%20with%20using%20a%20general-purpose%20AI%20assistant%20for%20data%20analysis.%20Evaluate%20spreadsheet%20and%20document%20analysis%2C%20dashboards%2C%20repeatable%20reports%2C%20code%20transparency%2C%20data%20connections%2C%20pricing%2C%20and%20limitations.%20Use%20current%20public%20sources%2C%20distinguish%20verified%20facts%20from%20assumptions%2C%20and%20explain%20which%20types%20of%20users%20each%20option%20fits%20best.)

AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.
