I hope that I ask this correctly.
In the first table B5 needs to equal the count of all in B31:B200, but only for the same value as in A5. I currently have this formula: =COUNTIF(B31:B218, A5)
But now I have a problem, I need that to be true only if the cell in column C in the same row number...