Reputation: 499
What formula can I use that will count the cells in my first sheet (ALL DATA) ...
Thanks
Upvotes: 0
Views: 1716
Reputation: 46331
I'm assuming that for the second criterion you just want to count rows where the column N value is equal to one of E2:E5
Try this formula in Summary sheet
=SUMPRODUCT(COUNTIFS('ALL DATA'!C:C,A2,'ALL DATA'!N:N,USERS!E2:E5))
COUNTIFS
returns an array of 4 values, one each for E2:E5
, so SUMPRODUCT
is used to sum that array to get the final result
Assumes all values in E2:E5 are different, otherwise rows may be double counted
Upvotes: 1