Home > Net >  how to count values, if they fall under a separate category and within a group
how to count values, if they fall under a separate category and within a group

Time:12-12

Columns D:H show my initial info, where two workstreams (Column D) have different issues occur (Column F:H). These issues fall under one of three categories, under Columns A:B. I want the chart to show the count of the category each issues falls under, making sure it's also showing that it's within a certain workstream.

what i was working with so far is below to match issues to the three categories

=INDEX(A:B, MATCH(F1, A:A, 0), 2)

and below to count the times a value is within the workstream group (A or B).

=countif(flatten(filter(F:H,D:D="A")),"one")

How can I combine these two?

enter image description here

formula explanation

  • Related