Function Problems

How to Fix Excel FREQUENCY Returning Zeros or Repeated Results

Olivia MillerOlivia Miller Nov 13, 2026 868 views

Question details

The user needs to troubleshoot an Excel FREQUENCY formula that returns zeros or repeats the same result instead of producing the expected frequency distribution.

How to Fix Excel FREQUENCY Returning Zeros or Repeated Results
Product
WPS Spreadsheets
Device & OS
not provided
Scenario
Creating a frequency distribution from a data range and a bin range.
Observed behavior
The FREQUENCY formula returns zeros or repeats the same result rather than the expected frequency counts.
Before you start

Check that the data range and bin range contain numeric values, and identify whether your WPS Spreadsheets version supports dynamic array spill so you know whether to press Enter or Ctrl+Shift+Enter.

Solution 1Recommended

Enter FREQUENCY as an array formula with the correct data and bin ranges

Use this first when the formula returns only the first result, zeros, or repeated values because it was not entered as an array formula or the references are misaligned.

FREQUENCY returns a vertical array with one more result than the number of bins. In older spreadsheet engines, it must be confirmed as an array formula over the output range; in dynamic array versions, a single Enter spills the results automatically.

1
Select the output range

In WPS Spreadsheets, select the vertical range where you want the frequency counts. It must have one more cell than your bin range; for bins C2:C4, select cells such as D2:D5.

2
Enter the FREQUENCY formula

Type =FREQUENCY(B2:B10,C2:C4) in the formula bar, replacing B2:B10 with your numeric data range and C2:C4 with your bin range.

3
Confirm the formula correctly

If your WPS Office version does not spill dynamic arrays, press Ctrl+Shift+Enter to enter it as an array formula. If your version supports dynamic arrays, press Enter and let the results fill the output range.

4
Review the frequency distribution

Check that each bin shows the count of data values less than or equal to that bin, and that the extra cell shows values above the last bin.

Enter FREQUENCY as an array formula with the correct data and bin ranges
Expected result: A correctly entered FREQUENCY formula returns a vertical array like {2;3;1;1}, with one more result than the number of bins.
WPS Spreadsheets formula fix

Fix the FREQUENCY Formula in WPS Spreadsheets

Use WPS Spreadsheets to open your Excel workbook and fix FREQUENCY by entering the formula with correct data and bin ranges and confirming it as an array formula when required.

  1. 1. Open your workbook in WPS Spreadsheets: Launch WPS Office, click Open, and select the Excel workbook containing the FREQUENCY formula.
  2. 2. Select the output cells: Click the first output cell or select the full vertical output range that has one more row than your bin range.
  3. 3. Enter the FREQUENCY formula: Type =FREQUENCY(data_range, bins_range) such as =FREQUENCY(B2:B10,C2:C4), using your actual ranges.
  4. 4. Confirm as an array formula if needed: Press Ctrl+Shift+Enter in classic array mode, or press Enter if your WPS Spreadsheets version supports dynamic array spill.
  5. 5. Save and verify the results: Review the frequency distribution and save the file in Excel-compatible format.
Free to download and use for Excel-compatible spreadsheet formulasOpens and saves Microsoft Excel .xlsx, .xls, and .csv files without conversion issuesFamiliar ribbon interface makes formula and array entry easySupports dynamic array behavior in recent versions and classic Ctrl+Shift+Enter array formulasLightweight and fast for everyday spreadsheet tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why does my FREQUENCY formula only return one value instead of the full frequency distribution?

FREQUENCY returns an array. In older Excel or WPS Spreadsheets versions, you must select the output range first and press Ctrl+Shift+Enter. In dynamic array versions, press Enter and let the results spill.

Why does FREQUENCY return zeros even when my data contains numbers?

Check that the data range and bin range do not include text, empty cells, or header rows. Use ISNUMBER to test cells, and make sure the formula references match the actual numeric data and bin ranges.

Do FREQUENCY bins need to be sorted?

No, bins do not need to be sorted. FREQUENCY returns results in the same order as the bin range, so sorting the bins can make the distribution easier to read.

What does the extra result after the bins represent?

The final value counts all numbers greater than the highest bin. For example, with three bins you normally select four output cells to include this overflow count.

Does WPS Spreadsheets support the same FREQUENCY formula as Excel?

Yes. WPS Spreadsheets supports the Excel FREQUENCY function. Depending on your version, enter it as a dynamic array formula with Enter or as a classic array formula with Ctrl+Shift+Enter.