# Google Sheets QUARTILE Function: Syntax, Examples & Tips

- URL: https://betteranalyst.com/google-sheets/quartile-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 function calculates the specified quartile (0-4) of a data set, helping to analyze data distribution and variability.

```
QUARTILE(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 you need in plain EnglishGenerate Formula

## Parameters

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

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

## What is a QUARTILE?

The *QUARTILE* function in Google Sheets is a statistical tool used to divide a dataset into four equal parts, or quartiles. This function helps in understanding the distribution of data by identifying the values that separate the highest 25% of data from the rest, the median, and the lowest 25%. The QUARTILE function can be particularly useful in data analysis, allowing users to summarize and interpret data effectively.

In simpler terms, QUARTILE helps you find specific points in your data that can indicate how the data is spread out.

## A Practical Example

Imagine you are analyzing the test scores of a group of students stored in a Google Sheets document:

### Test Scores Table:

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

You want to find the first quartile (Q1), the second quartile (Q2, which is the median), and the third quartile (Q3) of the scores.

## QUARTILE Formula

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

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

In these formulas:

- `A2:A9` is the range of cells containing the scores.

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

  - `0` for the minimum value
  - `1` for the first quartile (25th percentile)
  - `2` for the second quartile (50th percentile or median)
  - `3` for the third quartile (75th percentile)

## Result of the Formula

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

| Quartile | Value |
| - | - |
| Q1 | 76.5 |
| Q2 | 87.5 |
| Q3 | 90.0 |

This indicates that:

- 25% of the students scored below 76.5 (Q1).
- 50% of the students scored below 87.5 (Q2).
- 75% of the students scored below 90.0 (Q3).

## Why Use QUARTILE?

QUARTILE is beneficial because it provides a clear summary of the distribution of data. It helps identify outliers, understand the spread of data, and make informed decisions based on statistical analysis. By using quartiles, you can better understand how your data is performing and where improvements may be needed.

## Key Takeaways:

- **QUARTILE**: A statistical function that divides a dataset into four equal parts.
- **Data Distribution**: Helps in understanding how data is spread out and identifying key points.
- **Statistical Analysis**: Useful for summarizing data, identifying outliers, and making data-driven decisions.
- **Common Use Cases**: Ideal for academic performance analysis, financial data assessment, and any scenario where understanding data distribution is crucial.

QUARTILE 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 the QUARTILE formula, you can easily determine the quartile rankings of sales performance, helping to identify top performers and areas needing improvement for strategic 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 Unhide Columns In Google Sheets](https://betteranalyst.com/google-sheets/how-to-unhide-all-columns-in-google-sheets)
- [How To Unhide Rows In Google Sheets](https://betteranalyst.com/google-sheets/how-to-unhide-all-rows-in-google-sheets)
- [How To Unprotect Google Sheets](https://betteranalyst.com/google-sheets/how-to-unprotect-google-sheets)
- [How To Wrap Text In Google Sheets](https://betteranalyst.com/google-sheets/how-to-wrap-text-in-google-sheets)
- [Google Sheets Conditional Formatting](https://betteranalyst.com/google-sheets/google-sheets-conditional-formatting)
- [How To Add A Column In Google Sheets](https://betteranalyst.com/google-sheets/how-to-add-a-column-in-google-sheets)
- [How To Alphabetize In Google Sheets](https://betteranalyst.com/google-sheets/how-to-alphabetize-in-google-sheets)
- [How To Autofit In Google Sheets](https://betteranalyst.com/google-sheets/how-to-autofit-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.
