FREQUENCY(data, classes)One free generation or explanation per browser, shared across Excel and Google Sheets. Account usage limits apply afterward.
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.
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.
Imagine you are analyzing the scores of students in a class:
| 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.
| Bin |
|---|
| 70 |
| 80 |
| 90 |
| 100 |
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.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:
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.
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!
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.
Sign up for Better Analyst and get unlimited AI-powered formula generation, explanations, and advanced data analysis.
Browse our complete library of Google Sheets formula guides
Compare your options
Open a neutral research prompt in the AI tool you already use. Compare capabilities, limitations, and fit before you choose.
AI answers can be incomplete. Check source links, current pricing, and product documentation before deciding.