I am trying to achieve the following through formula for a largish worksheet (100,000 rows) (Excel 2010), to identify 'Special' process against all rows which have both duplicate Job ID's and one 'Special' process included:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Job ID[/TD]
[TD]Process[/TD]
[TD]Associated Special Process?[/TD]
[/TR]
[TR]
[TD]45001[/TD]
[TD]Process 9[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]45001[/TD]
[TD]Process 3[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]45001[/TD]
[TD]Process 8[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]45001[/TD]
[TD]Special[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]45822[/TD]
[TD]Process 5[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]46204[/TD]
[TD]Process 5[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]46204[/TD]
[TD]Process 6[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]46319[/TD]
[TD]Process 3[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]46319[/TD]
[TD]Special[/TD]
[TD]TRUE[/TD]
[/TR]
</tbody>[/TABLE]
I have been trying to use a combination of COUNTIF, MATCH and INDEX without any success, such as the following:
=(AND(COUNTIF(A:A,A2)>1,SUMPRODUCT(COUNTIF(B:B,"Special"))) which does not work, of course, but I don't know how to reference only the duplicate ID row's within this. Can anyone help?
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Job ID[/TD]
[TD]Process[/TD]
[TD]Associated Special Process?[/TD]
[/TR]
[TR]
[TD]45001[/TD]
[TD]Process 9[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]45001[/TD]
[TD]Process 3[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]45001[/TD]
[TD]Process 8[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]45001[/TD]
[TD]Special[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]45822[/TD]
[TD]Process 5[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]46204[/TD]
[TD]Process 5[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]46204[/TD]
[TD]Process 6[/TD]
[TD]FALSE[/TD]
[/TR]
[TR]
[TD]46319[/TD]
[TD]Process 3[/TD]
[TD]TRUE[/TD]
[/TR]
[TR]
[TD]46319[/TD]
[TD]Special[/TD]
[TD]TRUE[/TD]
[/TR]
</tbody>[/TABLE]
I have been trying to use a combination of COUNTIF, MATCH and INDEX without any success, such as the following:
=(AND(COUNTIF(A:A,A2)>1,SUMPRODUCT(COUNTIF(B:B,"Special"))) which does not work, of course, but I don't know how to reference only the duplicate ID row's within this. Can anyone help?