C
claire
Hi everyone,
I am having a problem with a countifs function that I could do with your help on.... (to be fair, countifs may not be the best choice!)
I have a database of training and each entry is categorised as certain group type and then is allocated up to 3 recommendations (see below). I want to count the total types of recommendation for each group type. The problemis that because there can be up to three recommendations, it's not a simple count if.
I've attached a sample. The function I've been working from is: =COUNTIFS(A:A,$H$1,B:B,G2,C:C,G2,D,G2) but it just keeps returning a value of 0. I've tried a few edits, but still can't get it right!
Any tips gratefully received.
Cheers
Group type Primary Recommendation Secondary Recommendation Additional Recommendation
A 5 8 7
B 9 1 5
C 2 2 3
A 3 8
B 9 3 2
C 1 4 4
D 5 1 9
B 3 1 4
B 4
C 2 6 4
A 8 4 5
B 3 2 6
C 4 8 2
D 5 3 4
D 4 9
C 7 1 8
C 5 4 3
A 4 1 3
B 6 8 5
C 8 5 8
B 9
I am having a problem with a countifs function that I could do with your help on.... (to be fair, countifs may not be the best choice!)
I have a database of training and each entry is categorised as certain group type and then is allocated up to 3 recommendations (see below). I want to count the total types of recommendation for each group type. The problemis that because there can be up to three recommendations, it's not a simple count if.
I've attached a sample. The function I've been working from is: =COUNTIFS(A:A,$H$1,B:B,G2,C:C,G2,D,G2) but it just keeps returning a value of 0. I've tried a few edits, but still can't get it right!
Any tips gratefully received.
Cheers
Group type Primary Recommendation Secondary Recommendation Additional Recommendation
A 5 8 7
B 9 1 5
C 2 2 3
A 3 8
B 9 3 2
C 1 4 4
D 5 1 9
B 3 1 4
B 4
C 2 6 4
A 8 4 5
B 3 2 6
C 4 8 2
D 5 3 4
D 4 9
C 7 1 8
C 5 4 3
A 4 1 3
B 6 8 5
C 8 5 8
B 9