Identifying all same duplicate ID's which also have one special identifier in only one row in another column

Straycat1

New Member
Joined
Feb 21, 2018
Messages
3
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:

Job IDProcessAssociated Special Process?
45001Process 9TRUE
45001Process 3TRUE
45001Process 8TRUE
45001SpecialTRUE
45822Process 5FALSE
46204Process 5FALSE
46204Process 6FALSE
46319Process 3TRUE
46319SpecialTRUE

<tbody>
</tbody>

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?
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
What would your output be?

45001
46319

Because those IDs have a Process named Special AND other rows that arent Special ?
Do we want IDs if there is only a Special row, ie no other non Special rows ?
What happens if a row has more than one Special ? Do we want that ID ?
 
Last edited:
Upvote 0
Hi Special K-99,
Thank you for your response. Eric's solution works perfectly for what I need. To show that all rows of a duplicate ID's where one row has a Special process (there is never more than one Special for a single ID#) can be identified as associated with Special process. I can then pivot to show which processes also have a Special associated with them. Best regards, Straycat1
 
Upvote 0

Forum statistics

Threads
1,215,274
Messages
6,123,993
Members
449,137
Latest member
abdahsankhan

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top