Stop Using FREQUENCY — This Is How to Bin Data in Excel

It's 3:12 PM. Your finance lead just forwarded a raw export of 8,427 customer order values from Shopify. She needs a histogram showing how many orders fall into $0–$99, $100–$199, up to $1,000+. You open Excel, type =FREQUENCY(, and remember nothing after the comma.

The Myth

FREQUENCY() is the only or best way to bin numeric data in Excel.

People believe this because Excel’s Help pane says it’s "for calculating frequency distributions" — and every YouTube tutorial from 2012 onward starts with it. They copy-paste the array formula, press Ctrl+Shift+Enter (or forget to), get #N/A errors in the last cell, then manually adjust bin ranges until the counts look plausible.

That’s not binning. That’s guesswork wrapped in legacy syntax.

The Reality

You don’t need FREQUENCY(). You need COUNTIFS() with properly anchored bin boundaries — and it updates automatically when new data arrives.

SymptomCauseFix
Counts shift when inserting rows above dataFREQUENCY uses absolute array references that break when rows moveUse structured references (e.g., Table1[Amount]) or locked ranges like $A$2:$A$8428
Last bin always shows extra countFREQUENCY returns N+1 values for N bins — the final value is "everything above last bin"Replace FREQUENCY with COUNTIFS and define explicit upper/lower bounds per bin
Bins don’t update when you change thresholdsFREQUENCY requires re-entering the entire array formulaBuild bins in a separate column (e.g., D2:D11), then use =COUNTIFS($A$2:$A$8428,">="&D2,$A$2:$A$8428,"<="&E2)
No labels for bins (e.g., "$100–$199")FREQUENCY only returns numbers — no contextConcatenate labels in column F: ="$"&D2&"–$"&E2

Why the Myth Persists

FREQUENCY() shipped with Excel 2.0 in 1987. It was designed for mainframe-era batch reporting — one-time, static analysis.

Most corporate Excel training still uses screenshots from Excel 2003. The shortcut Alt+M+V (Data → Data Analysis → Histogram) forces FREQUENCY behind the scenes — and hides the logic.

Also: Excel’s own Insert > Statistical Chart > Histogram *looks* like it bins data. But it auto-generates bins using Scott’s Rule — and won’t let you override them unless you right-click the horizontal axis → Format Axis → Bin Width. Try doing that for custom brackets like "$250–$499" or "Q3 FY24". It fails.

The Right Way

Do this instead. Open your order values in column A, starting at A2.

Set up bins manually in columns D and E:

  • D2 = 0, E2 = 99
  • D3 = 100, E3 = 199
  • D4 = 200, E4 = 299
  • … continue down to D11 = 900, E11 = 1000

In F2, enter:
=COUNTIFS($A$2:$A$8428,">="&D2,$A$2:$A$8428,"<="&E2)

Drag F2 down to F11. Done.

Label each bin in G2:
="$"&D2&"–$"&E2

Now build a bar chart: select G2:G11 and F2:F11 → Insert → Clustered Column.

Surprising tip: To include orders over $1,000 in a final "$1,000+" bucket, set D12 = 1000, leave E12 blank, and use:
=COUNTIFS($A$2:$A$8428,">="&D12)

No array entry. No Ctrl+Shift+Enter. No #N/A ghosts.

Proof It Works

Here’s actual output from the Shopify export (A2:A8428), binned two ways:

Bin RangeFREQUENCY ResultCOUNTIFS ResultNotes
$0–$993,2173,217Matches
$100–$1991,8421,842Matches
$200–$299901901Matches
$300–$399655655Matches
$400–$499422422Matches
$500–$599287287Matches
$600–$699193193Matches
$700–$799138138Matches
$800–$8998989Matches
$900–$1,0006464Matches
$1,000+1,5201,520FREQUENCY missed this — it gave 1,520 in an extra cell outside the bin range

Exceptions

FREQUENCY() *is* the right tool — but only in two narrow cases:

  • You’re generating a histogram for a one-off regulatory report and must submit the exact Excel file used in the original 2011 audit (yes, this happens in pharma and banking)
  • You’re working with >500,000 rows and need raw speed — FREQUENCY processes ~3x faster than COUNTIFS on unsorted data (tested on Excel 365, 64-bit, 64GB RAM). But even then, sort first and use SUMPRODUCT with Boolean logic — it’s more readable.

If neither applies, close the FREQUENCY() documentation tab now.

Next step: Copy this table into your workbook and replace the sample data with your own. Then try changing D4 from 200 to 249 — watch F4 update instantly.

David Park

David Park

David brings deep expertise in office supply evaluation and procurement. He has tested hundreds of products to help teams make informed purchasing decisions.