Function Problems

Create a Frequency Table of Monthly Payment Amounts in Excel

Chanuka GeekiyanageChanuka Geekiyanage Nov 18, 2026 870 views

Question details

Create a frequency table that lists each unique monthly payment amount and counts its occurrences.

Create a Frequency Table of Monthly Payment Amounts in Excel
Product
Microsoft Excel for Microsoft 365 and Excel 2021
Device & OS
not provided
Scenario
Monthly payment amounts are stored in a column, and the user wants to summarize how often each amount occurs without identifying unique values manually.
Observed behavior
The desired table lists each distinct payment amount alongside its frequency and updates when values in the source range change.
Before you start

Place the monthly payment amounts in one column as numeric values and identify the range to summarize. The examples below use A2:A1000 and assume it contains at least one nonblank amount.

Solution 1Recommended

Create a dynamic frequency table with UNIQUE and COUNTIF

Use this method in Microsoft 365 or Excel 2021 to generate a sorted list of amounts and their counts.

1
Add table headings

Enter Payment Amount in C1 and Frequency in D1, leaving the cells below both headings empty for the results.

2
List unique amounts

In C2, enter =SORT(UNIQUE(FILTER(A2:A1000,A2:A1000<>""))) and press Enter. The formula excludes blank cells and spills the sorted amounts down column C.

3
Count each amount

In D2, enter =COUNTIF(A2:A1000,C2#) and press Enter. The # reference uses the entire list spilled from C2.

4
Adjust the source range

If your payments are stored elsewhere, replace A2:A1000 in both formulas with the actual payment range. Include enough rows for any new entries.

Create a dynamic frequency table with UNIQUE and COUNTIF
Calculating monthly payments: If column A contains annual amounts, enter =A2/12 in a helper column and fill it down. Use that helper column as the source range in both frequency formulas.
Create a payment frequency table

Count monthly payment amounts in WPS Spreadsheets

Use a PivotTable in WPS Spreadsheets to list unique monthly payment amounts and count how often each one appears.

  1. 1. Open the workbook: Open WPS Spreadsheets and use File > Open to select the workbook containing your payment data.
  2. 2. Insert a PivotTable: Select the payment data and its heading, then choose Insert > PivotTable and confirm the data range and destination.
  3. 3. Arrange the fields: Drag the payment amount field to Rows and add the same field to Values in the PivotTable field list.
  4. 4. Count the payments: Open the value field settings and select Count to show the frequency of each payment amount.
Summarize payment amounts without manually listing unique valuesFilter a PivotTable by account or month when those fields are availableOpen and work with Microsoft Excel XLSX and XLS filesUse a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Will the formula update when I add payments?

Yes, when you add payments within the range used by both formulas, such as A2:A1000. If entries extend beyond that range, expand the range in both formulas.

How do I exclude blank cells from the frequency table?

Use =SORT(UNIQUE(FILTER(A2:A1000,A2:A1000<>""))) in C2. The FILTER condition removes blanks before UNIQUE lists the amounts.

Can I count payments for a particular account?

Yes. If payment amounts are in A2:A1000, account names are in B2:B1000, and the chosen account is in E2, enter =COUNTIFS(A2:A1000,C2#,B2:B1000,E2) next to the spilled list of amounts.

What if I have annual payments instead of monthly amounts?

Enter =A2/12 in a helper column and fill the formula down. Then use the helper column as the source for the UNIQUE and COUNTIF formulas or the PivotTable.

Why do I see a spill error?

Dynamic array formulas need empty cells for their results. Clear any entries blocking the spill area below C2 or D2, then check the formulas again.