How to Calculate FREQUENCY in Excel

If you just need to calculate frequency in excel and move on, the boxed answer at the top is all you need. The rest of this page is for when you want to understand why it works in Excel, adapt it to a trickier version, or make it robust enough to hand to a colleague. We keep the opening short on purpose — the depth is here when you want it, not in your way when you don’t.

Exact answer

In Excel: list your bins in a column, then count each one with =COUNTIFS($A$2:$A$200,">="&C2,$A$2:$A$200,"<"&D2) — or use =FREQUENCY(data, bins) for a single spilled array.

On this page7
ƒxFrequency TableLive
Distinct values
3

6 entries

ValueCountShare
Berlin350.0%
Munich233.3%
Hamburg116.7%
=COUNTIF($A$2:$A$100,D2) · =UNIQUE(A2:A100)
=COUNTIFS($A$2:$A$200,">="&C2,$A$2:$A$200,"<"&D2)
Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

Need it as an auditable file?

Ships inside the linked template — formula-driven, unlocked, audit-ready.

View template

What this does

A frequency table counts how many values fall into each category or numeric bin. For text categories, =COUNTIF(range, criterion) per distinct value is enough. For numbers you either write COUNTIFS with an explicit lower and upper bound per bin — which is readable and easy to audit — or use FREQUENCY, which takes the whole data range and a bins array and spills one count per bin plus one extra for everything above the last bin. Keep the inputs visible and clearly labelled and the whole thing stays auditable — anyone who opens the file later, including you, can see at a glance exactly what feeds the result and change one assumption without hunting through the formula. For “calculate frequency in excel”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected cells change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a calculation you can defend to a CFO or an auditor useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

A2:A200 holds 199 order values. Bins in C2:C6 read 0, 50, 100, 200, 500 as upper bounds. =FREQUENCY(A2:A200, C2:C6) entered in D2 spills six numbers: the counts at or below each bound, plus a final count of everything above 500. Written as COUNTIFS instead, the 50–100 bin is =COUNTIFS($A$2:$A$200,">=50",$A$2:$A$200,"<100") — 47 orders. A frequency table is the first honest look at a column of numbers: it shows where the mass sits, whether the distribution is skewed, and whether an average is worth quoting at all. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.

In Google Sheets

Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top, the tool proves it, and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. The short version of “calculate frequency in excel”: the answer is at the top of this page, the tool proves it on your own numbers, and the sections above explain why it holds so the next variation does not stump you. Excel rewards people who reference cells instead of typing values and who keep inputs separate from formulas, because that is what makes a result you can audit months later. Build it once, deliberately, with the live tool as a check, and you convert a one-off lookup into a reusable skill — which is the whole point of learning the why and not just the what.

Common mistakes

  • Overlapping bins (0–50 and 50–100 both using >= and <=), which counts boundary values twice.
  • Forgetting FREQUENCY returns one more value than the number of bins — the overflow count for everything above the last bound.
  • Leaving the data range relative, so filling the formula down shifts it off the data; anchor it with $.
  • Building bins after looking at the answer you want, which is how a distribution gets shaped to fit a conclusion.

Frequently asked questions

What is the difference between FREQUENCY and COUNTIFS?

FREQUENCY does the whole table in one formula and returns an array; COUNTIFS does one bin per formula but is easier to read, audit and adjust. Both give identical counts when the bins line up.

Why does FREQUENCY return an extra number?

The last value is the count of everything greater than the highest bin — the overflow bucket. Always give it a row so the total reconciles.

How do I turn a frequency table into a chart?

Select the bin labels and the counts and insert a clustered column chart, or use Insert ▸ Statistic Chart ▸ Histogram to let Excel bin the raw data itself.

Can a PivotTable do this?

Yes — put the value field in Rows, right-click ▸ Group to set the bin width, and drop the same field into Values as Count. That is often the fastest route for one-off analysis.

Other ways people ask this

On the way here you may have searched this as “how to calculate frequency using excel”, “how to calculate the frequency in excel”, “how to calculate cumulative frequency in excel” and “how to calculate relative frequency in excel” — it is all the same task, and this page is the single, complete answer to it.

Why do people search for this in so many different ways?

Because the same task has many names. “how to calculate frequency using excel”, “how to calculate the frequency in excel”, “how to calculate cumulative frequency in excel” all point at the one operation explained on this page, which is why they all lead here.