Google Sheets FREQUENCY Function: Syntax, Examples & Tips

The FREQUENCY function counts how often values occur within a range, returning a distribution of counts for specified bins.
Google Sheets
FREQUENCY(data, classes)

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

On this page
  1. Parameters
  2. What is a FREQUENCY?
  3. A Practical Example
  4. FREQUENCY Formula
  5. Result of the Formula
  6. Why Use FREQUENCY?
  7. Key Takeaways:
  8. Example use case

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:

StudentIDScore
185
292
376
488
591
675
789
895

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:

Google Sheets
=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:

BinFrequency
702
803
903
1000

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.

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.
  2. 02ClaudeOpen the same research prompt in Claude.
  3. 03PerplexityResearch the comparison with linked web sources.

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