AlbertRBrowne
New Member
- Joined
- Jun 25, 2011
- Messages
- 6
I need sum the amount of unique values in a column that match a value in another column.
a would contain say xxx, yyy, xxx
b Would contain bbb, ccc, bbb
I need to count the amount off times bbb appears but only once for xxx
I have this formula but it returns 0 and not the correct number.
=SUM(AND(H16:H50="bbb",(SUM(IF(FREQUENCY(IF(LEN(D16:D50)>0,MATCH(D16:D50,D16:D50,0),""),IF(LEN(D16:D50)>0,MATCH(D16:D50,D16:D50,0),""))>0,1)))))
Can anyone help thanks
Albert
a would contain say xxx, yyy, xxx
b Would contain bbb, ccc, bbb
I need to count the amount off times bbb appears but only once for xxx
I have this formula but it returns 0 and not the correct number.
=SUM(AND(H16:H50="bbb",(SUM(IF(FREQUENCY(IF(LEN(D16:D50)>0,MATCH(D16:D50,D16:D50,0),""),IF(LEN(D16:D50)>0,MATCH(D16:D50,D16:D50,0),""))>0,1)))))
Can anyone help thanks
Albert