Function Problems

Create a Dynamic Assignment Count by Person in Excel

Bushra ParveenBushra Parveen Dec 2, 2026 869 views

Question details

Create a summary that lists each responsible person and counts their assigned items.

Create a Dynamic Assignment Count by Person in Excel
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.
Before you start

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.

Solution 1Recommended

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.

1
Create the source table

Select the assignment data, choose Insert > Table, and confirm that the table has headers. Ensure the responsible-person column is named Person.

2
Name the table

Click inside the table, open the Table Design tab, and set Table Name to Assignments.

3
List the people

Outside the table, enter =SORT(UNIQUE(Assignments[Person])) in an empty cell such as A2. The names spill into the cells below.

4
Count assignments

In the adjacent cell B2, enter =COUNTIF(Assignments[Person],A2#). The counts spill alongside the names and recalculate when the table changes.

Use dynamic array formulas with an Excel Table
Handle blank names: If the Person column contains blanks, use =SORT(UNIQUE(FILTER(Assignments[Person],Assignments[Person]<>""))) in A2 to exclude them. FILTER needs at least one nonblank name for this formula to return a list.
Summarize assignments in WPS

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. 1. Open the assignment list: Open your workbook in WPS Spreadsheets and place the responsible-person names in column A, starting at A2.
  2. 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. 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. 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.
Create a per-person assignment summaryOpen and edit Microsoft Excel XLSX filesUse familiar spreadsheet formulas and PivotTablesWork with a free spreadsheet application
microsoft office alternative - wps office

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.