Hi I am new here. I am wondering how to do countifs with different arrays but also counting by reference to groups within a column. For example in the table below, you will see Column A, there are four groups. How do I count the number of times in which John and Elaine appear in the same group and John ranks 1. In the example, the number of counts should be 2. Do I need VBA for this? My spreadsheets have about 400 groups.
Thanks!
DJ
Thanks!
DJ
Excel Workbook | |||||
---|---|---|---|---|---|
A | B | C | |||
1 | Group | Name | Rank | ||
2 | 1 | John | 1 | ||
3 | 1 | Pearce | 2 | ||
4 | 1 | Douglas | 3 | ||
5 | 1 | Elaine | 4 | ||
6 | 1 | Tim | 6 | ||
7 | 2 | John | 1 | ||
8 | 2 | Tim | 2 | ||
9 | 2 | Pearce | 3 | ||
10 | 2 | Elaine | 4 | ||
11 | 2 | Oliver | 5 | ||
12 | 3 | Tim | 1 | ||
13 | 3 | John | 2 | ||
14 | 3 | Oliver | 3 | ||
15 | 3 | Elaine | 4 | ||
16 | 3 | Pearce | 5 | ||
17 | 4 | John | 1 | ||
18 | 4 | Pearce | 2 | ||
19 | 4 | Tim | 3 | ||
20 | 4 | Toby | 4 | ||
Sheet1 |