Forum Discussion

karyn90's avatar
karyn90
Copper Contributor
Oct 17, 2024
Solved

Counting instances of specific data pairs across entire array

My source table looks like this:   Court 1 Court 1 Court 1 Court 1 WEEK 1 1 6 2 7 WEEK 2 5 9 1 7 WEEK 3 3 10 1 5 WEEK 4 6 10 4 5 WEEK 5 8 10 7 3 WEEK...
  • OliverScheurich's avatar
    Oct 17, 2024

    karyn90 

    =IF(C$15=$B16,"-----",SUMPRODUCT((N(MMULT(N($B16=$B$2:$E$12),ROW($1:$4))>0))*(N(MMULT(N(C$15=$B$2:$E$12),ROW($1:$4))>0))))

     

    This works in my sheet if i correctly understand what you are looking for.

     

Resources