I have a problem that seems to have beaten me.
I have a number of compounds that are tested at different concentrations and I need, that if one concentration fails then they all do.
[TABLE="width: 402"]
<colgroup><col span="2"><col><col><col><col></colgroup><tbody>[TR]
[TD="align: center"]Sample
[/TD]
[TD="align: center"]Enzyme
[/TD]
[TD="align: center"]Mean%Act[/TD]
[TD="align: center"]Rep QC[/TD]
[TD="align: center"]Enzyme QC[/TD]
[TD="align: center"]QC Flag[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-1-10[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]125[/TD]
[TD="align: center"]FAIL[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]FAIL[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-1-10[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]100[/TD]
[TD="align: center"]FAIL[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]FAIL[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-1-30[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]100[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]FAIL[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-1-30[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]99[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]FAIL[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-2-10[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]65[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS
[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-2-10[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]68[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-2-30[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]21[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-2-30[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]26[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-1-10[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]89[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-1-10[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]100[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-1-30[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]100[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-1-30[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]99[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS
[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-2-10[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]65[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-2-10[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]68[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS
[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-2-30[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]21[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-2-30[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]26[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
</tbody>[/TABLE]
In the example above Cpm 1 and 2 are tested at 10 and 30µM for two enzymes. Cmp 1 fails with enzyme 1 at 10µM.
I've tried countif and sumproduct with a concatenation of the Cmp-1-2 for the cmp number and the kinase number...
I would be grateful if someone could suggest a way failing Cmp 1 in the QC Flag column.
Hankj
I have a number of compounds that are tested at different concentrations and I need, that if one concentration fails then they all do.
[TABLE="width: 402"]
<colgroup><col span="2"><col><col><col><col></colgroup><tbody>[TR]
[TD="align: center"]Sample
[/TD]
[TD="align: center"]Enzyme
[/TD]
[TD="align: center"]Mean%Act[/TD]
[TD="align: center"]Rep QC[/TD]
[TD="align: center"]Enzyme QC[/TD]
[TD="align: center"]QC Flag[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-1-10[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]125[/TD]
[TD="align: center"]FAIL[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]FAIL[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-1-10[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]100[/TD]
[TD="align: center"]FAIL[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]FAIL[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-1-30[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]100[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]FAIL[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-1-30[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]99[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]FAIL[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-2-10[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]65[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS
[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-2-10[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]68[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-2-30[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]21[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-2-30[/TD]
[TD="align: center"]1[/TD]
[TD="align: center"]26[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-1-10[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]89[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-1-10[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]100[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-1-30[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]100[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-1-30[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]99[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS
[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-2-10[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]65[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-2-10[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]68[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS
[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-2-30[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]21[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
[TR]
[TD="align: center"]Cmp-2-30[/TD]
[TD="align: center"]2[/TD]
[TD="align: center"]26[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[TD="align: center"]PASS[/TD]
[/TR]
</tbody>[/TABLE]
In the example above Cpm 1 and 2 are tested at 10 and 30µM for two enzymes. Cmp 1 fails with enzyme 1 at 10µM.
I've tried countif and sumproduct with a concatenation of the Cmp-1-2 for the cmp number and the kinase number...
I would be grateful if someone could suggest a way failing Cmp 1 in the QC Flag column.
Hankj