Create a Dynamic Assignment Count by Person in Excel
Question details
Create a summary that lists each responsible person and counts their assigned items.

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- An assignment list needs a per-person summary that reflects new people and assigned items.
- Observed behavior
- The desired summary automatically displays each person and their current assignment count.
Make sure each assignment occupies one row and the responsible person's name is in a column with a header. Check that names are spelled consistently and leave enough empty cells for the summary to expand.
Use dynamic array formulas with an Excel Table
Use this method in Microsoft 365 to update the person list and counts automatically as the assignment table grows.
Select the assignment data, choose Insert > Table, and confirm that the table has headers. Ensure the responsible-person column is named Person.
Click inside the table, open the Table Design tab, and set Table Name to Assignments.
Outside the table, enter =SORT(UNIQUE(Assignments[Person])) in an empty cell such as A2. The names spill into the cells below.
In the adjacent cell B2, enter =COUNTIF(Assignments[Person],A2#). The counts spill alongside the names and recalculate when the table changes.

Summarize assignments with an Excel PivotTable
Use a PivotTable when dynamic array formulas are unavailable or you prefer a menu-based summary.
Count assignments by person in WPS Spreadsheets
Use dynamic array formulas in a compatible version of WPS Spreadsheets to list people and count assignments. If your version does not support these formulas, use a PivotTable and refresh it after changes.
- 1. Open the assignment list: Open your workbook in WPS Spreadsheets and place the responsible-person names in column A, starting at A2.
- 2. List unique names: In C2, enter =SORT(UNIQUE(FILTER(A2:A1000,A2:A1000<>""))) if your WPS version supports these dynamic array functions. Adjust the range to cover your assignments.
- 3. Count the assignments: In D2, enter =COUNTIF(A2:A1000,C2#) if your version supports the spill-range reference. Keep the cells below C2 and D2 empty so the results can expand.
- 4. Use a PivotTable if needed: If the formulas are unsupported, select the data and choose Insert > PivotTable. Add the person field to Rows and Values, set Values to Count, and refresh the PivotTable after source changes.

Frequently Asked Questions
Will the Excel formula include new people automatically?
Yes. When new assignments are added as rows in the Assignments table, SORT and UNIQUE update the spilled list, and COUNTIF recalculates the counts.
Why does my person list show a spill error?
Check the cells below the formula for existing content and clear the spill area. Place the dynamic array formula outside the Excel Table.
How do I exclude blank names from the summary?
In the person-list cell, use =SORT(UNIQUE(FILTER(Assignments[Person],Assignments[Person]<>""))). This excludes blank Person cells when at least one name is present.
Does a PivotTable update as soon as I add an assignment?
Not necessarily. Right-click the PivotTable and select Refresh after changing the source. An Excel Table source helps include newly added rows.




