How to Fix Excel FREQUENCY Returning Zeros or Repeated Results
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.

- 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.
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.
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.
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.
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.
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.
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.

Verify the data and bin values to eliminate text, blanks, and misaligned ranges
Use this if the array entry is correct but the results are still zero or repeated because the source values or bins are not valid numbers or the ranges point to the wrong cells.
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. Open your workbook in WPS Spreadsheets: Launch WPS Office, click Open, and select the Excel workbook containing the FREQUENCY formula.
- 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. Enter the FREQUENCY formula: Type =FREQUENCY(data_range, bins_range) such as =FREQUENCY(B2:B10,C2:C4), using your actual ranges.
- 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. Save and verify the results: Review the frequency distribution and save the file in Excel-compatible format.

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.




