Create a Frequency Table of Monthly Payment Amounts in Excel
Question details
Create a frequency table that lists each unique monthly payment amount and counts its occurrences.

- 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.
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.
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.
Enter Payment Amount in C1 and Frequency in D1, leaving the cells below both headings empty for the results.
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.
In D2, enter =COUNTIF(A2:A1000,C2#) and press Enter. The # reference uses the entire list spilled from C2.
If your payments are stored elsewhere, replace A2:A1000 in both formulas with the actual payment range. Include enough rows for any new entries.

Summarize payment amounts with an Excel PivotTable
Use a PivotTable when you prefer a menu-based summary or want to filter the counts by account or month.
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. Open the workbook: Open WPS Spreadsheets and use File > Open to select the workbook containing your payment data.
- 2. Insert a PivotTable: Select the payment data and its heading, then choose Insert > PivotTable and confirm the data range and destination.
- 3. Arrange the fields: Drag the payment amount field to Rows and add the same field to Values in the PivotTable field list.
- 4. Count the payments: Open the value field settings and select Count to show the frequency of each payment amount.

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.




