Lets use C2.2 in Cell C2 for an example . I know how to count the number of occurrences of a certain cell within a table. However I want to be able to exclude the count of duplicate within a zone. In the table C2.2 appears 4 times. However I want to exclude duplicates within the zones and only have it count once per zone. Another example: C.4 occurs 4 times in the table but 3 of those occurrences are within zone 5 of ice cream therefore I only want it to be counted once within Zone 5, therefore i want the total number occurrences of C.4 to be 2. I am going to fill out F2:H9 on what value is supposed to shown. But I need to know how to do this without counting manually, any advice would be greatly appreciated. The Data set I am using is very large and it would take too long to count manually and I want the file to update itself.
<tbody>
</tbody>
Thank you in advance for the help!
Sector | Zone | Code 1 | Code 2 | Code 3 | Code 1 Occurrences | Code 2 Occurrences | Code 3 Occurrences |
Ice Cream | 1 | C2.2 | C.4 | C3.5 | 3 | 2 | 3 |
Ice Cream | 1 | C2.2 | C3.5 | R4.7 | 3 | 3 | 2 |
Ice Cream | 2 | C2.2 | F3.4 | U7.9 | 3 | 4 | 3 |
Ice Cream | 3 | C3.5 | F3.4 | U7.9 | 3 | 4 | 3 |
Ice Cream | 4 | F3.4 | U7.9 | R4.7 | 4 | 3 | 2 |
Ice Cream | 5 | C2.2 | C.4 | C3.5 | 3 | 2 | 3 |
Ice Cream | 5 | C2.2 | C.4 | F3.4 | 3 | 2 | 4 |
Ice Cream | 5 | C3.5 | C.4 | F3.4 | 3 | 2 | 4 |
<tbody>
</tbody>
Thank you in advance for the help!