Hi, Anyone who can help me with a formula for counting unique rows with condition
1) it must count only the unique task number
2) the counted unique task number must have task type P
result: 3
( optional ) Count Unique Task Number must have Task Type P with Name D
result: 1
I know the formula to compute for unique text only in one row but what bout with conditions?
Would really appreciate help
=SUMPRODUCT((B3:B12<>"")/COUNTIF(B3:B12,B3:B12&""))
[TABLE="width: 329"]
<tbody>[TR]
[TD][TABLE="class: outer_border, width: 500, align: left"]
<tbody>[TR]
[TD]A1[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Task Number[/TD]
[TD]Task Type[/TD]
[TD]Name[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]T1[/TD]
[TD]C[/TD]
[TD]M[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]T2[/TD]
[TD]P[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]T2[/TD]
[TD]P[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]T3[/TD]
[TD]C[/TD]
[TD]M[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]T4[/TD]
[TD]C[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]T5[/TD]
[TD]C[/TD]
[TD]M[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]T6[/TD]
[TD]P[/TD]
[TD]R[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]T6[/TD]
[TD]P[/TD]
[TD]R[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]T7[/TD]
[TD]P[/TD]
[TD]R[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]T8[/TD]
[TD]C[/TD]
[TD]L[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
1) it must count only the unique task number
2) the counted unique task number must have task type P
result: 3
( optional ) Count Unique Task Number must have Task Type P with Name D
result: 1
I know the formula to compute for unique text only in one row but what bout with conditions?
Would really appreciate help
=SUMPRODUCT((B3:B12<>"")/COUNTIF(B3:B12,B3:B12&""))
[TABLE="width: 329"]
<tbody>[TR]
[TD][TABLE="class: outer_border, width: 500, align: left"]
<tbody>[TR]
[TD]A1[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Task Number[/TD]
[TD]Task Type[/TD]
[TD]Name[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]T1[/TD]
[TD]C[/TD]
[TD]M[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]T2[/TD]
[TD]P[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]T2[/TD]
[TD]P[/TD]
[TD]D[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]T3[/TD]
[TD]C[/TD]
[TD]M[/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]T4[/TD]
[TD]C[/TD]
[TD]L[/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD]T5[/TD]
[TD]C[/TD]
[TD]M[/TD]
[/TR]
[TR]
[TD]9[/TD]
[TD]T6[/TD]
[TD]P[/TD]
[TD]R[/TD]
[/TR]
[TR]
[TD]10[/TD]
[TD]T6[/TD]
[TD]P[/TD]
[TD]R[/TD]
[/TR]
[TR]
[TD]11[/TD]
[TD]T7[/TD]
[TD]P[/TD]
[TD]R[/TD]
[/TR]
[TR]
[TD]12[/TD]
[TD]T8[/TD]
[TD]C[/TD]
[TD]L[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]