Function Problems

Fix Incorrect FREQUENCY Function Results in Excel

Elise WilliamsElise Williams Nov 18, 2026 869 views

Question details

The user needs to correct an Excel FREQUENCY formula that returns a result only for the first bin.

How to Fix Incorrect FREQUENCY Function Results in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
Counting numeric values across bins with the FREQUENCY function.
Observed behavior
The formula may display a result only for the first bin when it is entered or confirmed incorrectly.
Before you start

Identify the numeric data range and the cells containing your bin limits. FREQUENCY returns one more result than the number of bins, so allow space for the extra count.

Solution 1Recommended

Enter FREQUENCY as a Spilled Array in Current Excel

Use this method in Excel versions that support dynamic arrays, such as Microsoft 365 and Excel 2021 or later.

1
Check the ranges

Confirm that the data cells contain numbers and the bin cells contain the intended upper limits. For example, use A2:A11 for data and C2:C4 for three bins.

2
Enter the formula

Click the first output cell, such as E2, enter =FREQUENCY(A2:A11,C2:C4), and press Enter.

3
Clear the spill area

Check E2:E5 for results. If Excel displays #SPILL!, clear blocking content or merged cells, or move the formula outside an Excel table.

4
Check the extra result

Review the final output cell: it counts values greater than the highest bin limit.

Enter FREQUENCY as a Spilled Array in Current Excel
Calculate frequencies in WPS

Count Values by Bin in WPS Spreadsheets

Use FREQUENCY in WPS Spreadsheets to count numeric values across bin limits and check the extra count above the highest limit.

  1. 1. Open the spreadsheet: Open WPS Spreadsheets and select File > Open to load your workbook.
  2. 2. Check the data and bins: Place or verify numeric data in A2:A11 and three bin limits in C2:C4.
  3. 3. Enter the formula: Select E2:E5, type =FREQUENCY(A2:A11,C2:C4) in the formula bar, and confirm the array formula. In WPS Spreadsheets for Windows, use Ctrl+Shift+Enter if your version requires legacy array entry.
  4. 4. Review the results: Check E2:E5 for the bin counts and the extra count above the highest bin. If your version supports spilling, you can instead enter the formula in E2 and leave E3:E5 clear.
Count values across multiple bins with the FREQUENCY functionOpen and edit Microsoft Excel XLSX and XLS filesWork with a familiar spreadsheet interfaceUse WPS Office for free
microsoft office alternative - wps office

Frequently Asked Questions

Why does FREQUENCY return one more result than the number of bins?

The extra result counts values greater than the highest bin limit. Leave one additional output cell below the bin counts.

What does a #SPILL! error mean for FREQUENCY?

Excel cannot place the full array in the output area. Clear blocking cells or merged cells, or move the formula outside an Excel table.

Does FREQUENCY count text or blank cells in the data range?

No. FREQUENCY ignores text and blank cells. Check that values you want counted are stored as numbers rather than text.

How do I edit a legacy FREQUENCY array formula?

Select the entire array output range before replacing or deleting it. After editing the formula in older Excel for Windows, confirm it with Ctrl+Shift+Enter.