# Google Sheets FREQUENCY Function: Syntax, Examples & Tips

- URL: https://betteranalyst.com/google-sheets/frequency-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 FREQUENCY function counts how often values occur within a range, returning a distribution of counts for specified bins.

```
FREQUENCY(data, classes)
```

Generate FormulaExplain Formula

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

Describe the FREQUENCY you need in plain EnglishGenerate Formula

## Parameters

**`data`**:\
The range of cells containing the values for which you want to calculate the frequency distribution.

**`classes`**:\
The range of cells that defines the intervals (bins) for grouping the values in the `data` range.

## What is a FREQUENCY?

The *FREQUENCY* function in Google Sheets is a statistical tool used to count how often values occur within a specified range. It returns a vertical array of numbers that represent the frequency of occurrence for each bin in the data set. This function is particularly useful for creating histograms and analyzing distributions of data.

In simpler terms, FREQUENCY allows you to summarize how many times certain values appear in a dataset, making it easier to understand the distribution of your data.

## A Practical Example

Imagine you are analyzing the scores of students in a class:

### Scores Table:

| StudentID | Score |
| - | - |
| 1 | 85 |
| 2 | 92 |
| 3 | 76 |
| 4 | 88 |
| 5 | 91 |
| 6 | 75 |
| 7 | 89 |
| 8 | 95 |

You want to categorize these scores into bins to see how many students fall into different score ranges.

### Bins Table:

| Bin |
| - |
| 70 |
| 80 |
| 90 |
| 100 |

## FREQUENCY Formula

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

```
=FREQUENCY(B2:B9, D2:D5)
```

In this formula:

- `B2:B9` is the range containing the scores of the students.
- `D2:D5` is the range containing the bin values.

## Result of the Formula

When you apply the FREQUENCY formula, the output would look like this:

| Bin | Frequency |
| - | - |
| 70 | 2 |
| 80 | 3 |
| 90 | 3 |
| 100 | 0 |

This result indicates that:

- 2 students scored between 70 and 79.
- 3 students scored between 80 and 89.
- 3 students scored between 90 and 99.
- No students scored 100 or above.

## Why Use FREQUENCY?

FREQUENCY is beneficial because it provides a quick way to analyze data distributions without the need for complex calculations. It helps in visualizing data trends and patterns, making it easier to interpret results. Additionally, it can be used in conjunction with charts to create histograms for better data representation.

## Key Takeaways:

- **FREQUENCY**: A statistical function that counts how often values occur within specified bins.
- **Data Analysis**: Useful for summarizing and analyzing data distributions.
- **Histogram Creation**: Can be used to create histograms for visual data representation.
- **Common Use Cases**: Ideal for educational assessments, sales data analysis, and any scenario where understanding data distribution is essential.

FREQUENCY 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 student test scores in Column A. By using the FREQUENCY formula, you can analyze how many students fall into specific score ranges, helping educators identify performance trends and areas needing improvement efficiently.

## 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 Insert Checkbox In Google Sheets](https://betteranalyst.com/google-sheets/how-to-insert-checkbox-in-google-sheets)
- [How To Insert Multiple Rows In Google Sheets](https://betteranalyst.com/google-sheets/how-to-insert-multiple-rows-in-google-sheets)
- [How To Lock A Row In Google Sheets](https://betteranalyst.com/google-sheets/how-to-lock-a-row-in-google-sheets)
- [How To Lock Cells In Google Sheets](https://betteranalyst.com/google-sheets/how-to-lock-cells-in-google-sheets)
- [How To Make A Copy Of An Google Sheets Sheet](https://betteranalyst.com/google-sheets/how-to-make-a-copy-of-an-google-sheets-sheet)
- [How To Make A Graph In Google Sheets](https://betteranalyst.com/google-sheets/how-to-make-a-graph-in-google-sheets)
- [How To Make A Histogram In Google Sheets](https://betteranalyst.com/google-sheets/how-to-make-a-histogram-in-google-sheets)
- [How To Make A Line Graph In Google Sheets](https://betteranalyst.com/google-sheets/how-to-make-a-line-graph-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.
