Excel: Count Only Once If Another Column Has Duplicates

后端 未结 2 1189
囚心锁ツ
囚心锁ツ 2021-01-17 05:41

I am trying to create a formula that will count the number of \"Overdue\" people instead of \"Overdue\" cells. Each person has the multiple rows with their name in it. The c

2条回答
  •  [愿得一人]
    2021-01-17 06:14

    What you are after is a distinct count. Excel has a function for that in the new Dynamic Array function set, which is in Office 365 Insider builds but not available to everyone. Right now, a distinct count requires a few tricks.

    For example, you can create a pivot table with the names in the rows, filter the table to include only values where column X = Overdue and use a CountA() on the result rows.

提交回复
热议问题