Hi There,
I'm a relative novice at Excel and I'm having trouble working out a formula.
I'm trying to count the unique numbers in ROW G (Sectors) if certain criteria are met in other cells. For example,
IF (1_hypothesis = 9) AND (1_for/against = D OR 1_for/against = CF) AND (1_thick/thin = Thick) AND (2_hypothesis = 9) AND (2_for/against = D OR 2_for/against = CF) AND (2_thick/thin = Thick), I want it to count the number of unique numbers in Sectors (Row G).
I've tried SUM (with FREQUENCY, MATCH) and I get mostly there, but it stops working when I add more criteria.
If anyone could provide me with the formula, that would be great.
Thanks so much!!
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 74"]
<colgroup><col></colgroup><tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]1_hypothesis[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 75"]
<colgroup><col style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]1_for/against[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 69"]
<colgroup><col style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]1_thick/thin[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 74"]
<colgroup><col style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]2_hypothesis[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 75"]
<colgroup><col style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]2_for/against[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 69"]
<colgroup><col style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]2_thick/thin[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 68"]
<colgroup><col style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]Sector[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Thin[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]O[/TD]
[TD="align: center"]Thin[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]10[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Thin[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]CF[/TD]
[TD="align: center"]Thin[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]O[/TD]
[TD="align: center"]Thick[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Thin[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Thin[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]CF[/TD]
[TD="align: center"]Thick[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Thick[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Thick[/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Thick[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Thick[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]2[/TD]
[/TR]
</tbody>[/TABLE]
I'm a relative novice at Excel and I'm having trouble working out a formula.
I'm trying to count the unique numbers in ROW G (Sectors) if certain criteria are met in other cells. For example,
IF (1_hypothesis = 9) AND (1_for/against = D OR 1_for/against = CF) AND (1_thick/thin = Thick) AND (2_hypothesis = 9) AND (2_for/against = D OR 2_for/against = CF) AND (2_thick/thin = Thick), I want it to count the number of unique numbers in Sectors (Row G).
I've tried SUM (with FREQUENCY, MATCH) and I get mostly there, but it stops working when I add more criteria.
If anyone could provide me with the formula, that would be great.
Thanks so much!!
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD="align: center"]A[/TD]
[TD="align: center"]B[/TD]
[TD="align: center"]C[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]E[/TD]
[TD="align: center"]F[/TD]
[TD="align: center"]G[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][TABLE="width: 74"]
<colgroup><col></colgroup><tbody>[TR]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]1_hypothesis[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 75"]
<colgroup><col style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]1_for/against[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 69"]
<colgroup><col style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]1_thick/thin[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 74"]
<colgroup><col style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]2_hypothesis[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 75"]
<colgroup><col style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]2_for/against[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 69"]
<colgroup><col style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]2_thick/thin[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD][TABLE="width: 68"]
<colgroup><col style="text-align: center;"></colgroup><tbody>[TR]
[TD="align: center"]Sector[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
[TR]
[TD="align: center"]2[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Thin[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]O[/TD]
[TD="align: center"]Thin[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]3[/TD]
[TD="align: center"]10[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Thin[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]CF[/TD]
[TD="align: center"]Thin[/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]4[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]O[/TD]
[TD="align: center"]Thick[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]5[/TD]
[TD="align: center"]3[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Thin[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Thin[/TD]
[TD="align: center"]2[/TD]
[/TR]
[TR]
[TD="align: center"]6[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]CF[/TD]
[TD="align: center"]Thick[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]7[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Thick[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Thick[/TD]
[TD="align: center"]3[/TD]
[/TR]
[TR]
[TD="align: center"]8[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Thick[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]1[/TD]
[/TR]
[TR]
[TD="align: center"]9[/TD]
[TD="align: center"]9[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]Thick[/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"][/TD]
[TD="align: center"]2[/TD]
[/TR]
</tbody>[/TABLE]