FREQUENCY Function in Excel: Count Values Into Bins

⏱ 1 min readUpdated 28 September 2026

StatisticalLevel: ExpertAvailable in: Excel 2007+

In this article
  1. Syntax
  2. Examples
  3. Example 1
  4. Power combo
  5. Related functions

FREQUENCY counts how many values fall into each bin — the data behind a histogram.

Syntax

=FREQUENCY(data_array, bins_array)
Argument What it means
bins_array Upper limits of each bin, sorted ascending.

Examples

Example 1

=FREQUENCY(C2:C200, {10000,50000,100000})

Orders ≤10k, 10k–50k, 50k–1L and above (returns 4 results).

Power combo

=MAX(FREQUENCY(IF(B2:B100="W",ROW(B2:B100)),IF(B2:B100<>"W",ROW(B2:B100))))

Longest winning streak in a W/L list (Excel 365, or Ctrl+Shift+Enter).

COUNTIFS · MAX

📚 Part of the free Excel course: Beginner → Expert · Try it in the Formula Lab or ask the AI Helper.

✨ Ask AI about this article

Stuck on a step? Ask a question and the AI answers using this article.

Free · AI can be wrong