Hello there,
I want to use the COUNTIFS with a dynamic columns. Assuming the below is the data set in Sheet1.
<tbody>
[TD="class: xl68"][/TD]
[TD="class: xl68"]Test 1[/TD]
[TD="class: xl68"]Test 2[/TD]
[TD="class: xl68, width: 61"]Test 3[/TD]
[TD="class: xl68, width: 61"]Test 4[/TD]
[TD="class: xl68, width: 61"]Test 5[/TD]
[TD="class: xl69"]Person 1[/TD]
[TD="class: xl69, align: right"]6[/TD]
[TD="class: xl69, align: right"]2[/TD]
[TD="class: xl69, align: right"]1[/TD]
[TD="class: xl69, align: right"]2[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69"]Person 2[/TD]
[TD="class: xl69, align: right"]0[/TD]
[TD="class: xl69, align: right"]1[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]0[/TD]
[TD="class: xl69, align: right"]7[/TD]
[TD="class: xl69"]Person 3[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]2[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69"]Person 4[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69"]Person 5[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]2[/TD]
[TD="class: xl69, align: right"]5[/TD]
[TD="class: xl69"]Person 6[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]2[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69"]Person 7[/TD]
[TD="class: xl69, align: right"]5[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]5[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69"]Person 8[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]2[/TD]
[TD="class: xl69, align: right"]5[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]6[/TD]
[TD="class: xl69"]Person 9[/TD]
[TD="class: xl69, align: right"]7[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]1[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69"]Person 10[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]1[/TD]
[TD="class: xl69, align: right"]3[/TD]
</tbody>
In Sheet 2, the 'Tests' are listed the other way around, down a column, not across a row. i.e. 'Test 1' in A2, 'Test 2' in A3, 'Test 3' in A4 etc. How do I create a dynamic COUNTIF in Column C based on lookup/index match in column B? i.e. How many 4s were there in Test 1?
<tbody>
[TD="class: xl68"][/TD]
[TD="class: xl68, align: right"]0[/TD]
[TD="class: xl68, width: 66, align: right"]1[/TD]
[TD="class: xl68, width: 66, align: right"]2[/TD]
[TD="class: xl68, width: 66, align: right"]3[/TD]
[TD="class: xl68, width: 66, align: right"]4[/TD]
[TD="class: xl68, width: 66, align: right"]5[/TD]
[TD="class: xl68, width: 66, align: right"]6[/TD]
[TD="class: xl68, width: 66, align: right"]7[/TD]
[TD="class: xl68, width: 66, align: right"]8[/TD]
[TD="class: xl68, width: 66, align: right"]9[/TD]
[TD="class: xl68, width: 66, align: right"]10[/TD]
[TD="class: xl69"]Test 1[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]Test 2[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]Test 3[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]Test 4[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]Test 5[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
</tbody>
I hope that makes sense, many thanks in advance for your answers.
I want to use the COUNTIFS with a dynamic columns. Assuming the below is the data set in Sheet1.
<tbody>
[TD="class: xl68"][/TD]
[TD="class: xl68"]Test 1[/TD]
[TD="class: xl68"]Test 2[/TD]
[TD="class: xl68, width: 61"]Test 3[/TD]
[TD="class: xl68, width: 61"]Test 4[/TD]
[TD="class: xl68, width: 61"]Test 5[/TD]
[TD="class: xl69"]Person 1[/TD]
[TD="class: xl69, align: right"]6[/TD]
[TD="class: xl69, align: right"]2[/TD]
[TD="class: xl69, align: right"]1[/TD]
[TD="class: xl69, align: right"]2[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69"]Person 2[/TD]
[TD="class: xl69, align: right"]0[/TD]
[TD="class: xl69, align: right"]1[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]0[/TD]
[TD="class: xl69, align: right"]7[/TD]
[TD="class: xl69"]Person 3[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]2[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69"]Person 4[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69"]Person 5[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]2[/TD]
[TD="class: xl69, align: right"]5[/TD]
[TD="class: xl69"]Person 6[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]2[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69"]Person 7[/TD]
[TD="class: xl69, align: right"]5[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]5[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69"]Person 8[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]2[/TD]
[TD="class: xl69, align: right"]5[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]6[/TD]
[TD="class: xl69"]Person 9[/TD]
[TD="class: xl69, align: right"]7[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]1[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69"]Person 10[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]4[/TD]
[TD="class: xl69, align: right"]3[/TD]
[TD="class: xl69, align: right"]1[/TD]
[TD="class: xl69, align: right"]3[/TD]
</tbody>
In Sheet 2, the 'Tests' are listed the other way around, down a column, not across a row. i.e. 'Test 1' in A2, 'Test 2' in A3, 'Test 3' in A4 etc. How do I create a dynamic COUNTIF in Column C based on lookup/index match in column B? i.e. How many 4s were there in Test 1?
<tbody>
[TD="class: xl68"][/TD]
[TD="class: xl68, align: right"]0[/TD]
[TD="class: xl68, width: 66, align: right"]1[/TD]
[TD="class: xl68, width: 66, align: right"]2[/TD]
[TD="class: xl68, width: 66, align: right"]3[/TD]
[TD="class: xl68, width: 66, align: right"]4[/TD]
[TD="class: xl68, width: 66, align: right"]5[/TD]
[TD="class: xl68, width: 66, align: right"]6[/TD]
[TD="class: xl68, width: 66, align: right"]7[/TD]
[TD="class: xl68, width: 66, align: right"]8[/TD]
[TD="class: xl68, width: 66, align: right"]9[/TD]
[TD="class: xl68, width: 66, align: right"]10[/TD]
[TD="class: xl69"]Test 1[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]Test 2[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]Test 3[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]Test 4[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]Test 5[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
[TD="class: xl69"]countif[/TD]
</tbody>
I hope that makes sense, many thanks in advance for your answers.