SOLVED
Keep or eliminate duplicates in a column based on data in another column
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Rob48
8 - Asteroid
12-01-2023
07:08 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I have data that looks like the chart at bottom. In the ‘Status’ column every row will be populated with a string that contains either ‘YES’ or ‘NO’ embedded within in it.
Every user in the list can have from 0 to 10+ instances of both ‘YES’ and ‘NO’ status, but all with have at least one.
I need to filter my data so that:
- For any name that has only ‘NO’ statuses, I need to keep every instance of that name for later review
- Any name that has both a ‘YES’ and a ‘NO’ status, I can eliminate all the ‘NO’ but must keep every instance with ‘YES’ for later review
- Any name that has only a ‘YES’ I need to keep every instance for later review
I’ve started with the Summary tool doing a count of user names and keeping every name that only appears once, but from there I’m struggling with how to eliminate the ones I don’t need without also removing the ones I do. Appreciate any help, thanks.
Name | Status |
Jones | xxxYESxxzxzx |
Jones | zxzxzxNOxzzzxxx |
Smith | xxxYESxxxzzz |
Smith | xxxzxxxxzxNOzzxzxzzzxzxz |
Johnson | zzzxzzzzxzNOzzxzxzzzxzxz |
Johnson | xxxzxYESzzxzxz |
Johnson | zzxzxzYESzzxzxz |
Johnson | xxxzxNOzzxzxz |
Johnson | zzxzxzNOzzxzxz |
Bailey | xxzxxxYESzzxzxz |
Bailey | zxzzzzNOzzxzxz |
Bailey | zxzzzzzzzYESzzxzxz |
Bailey | zzxzxzNOzzxzxz |
Bailey | xxxzxNOzzxzxz |
Pierce | zxzzzzzzzYESzzxzxz |
Pierce | xxzxxxNOzzxzxz |
Pierce | zxzzzzYESzzxzxz |
Pierce | zxzzzzzzzNOzzxzxz |
McIntyre | xxxxNOzzzzzzzzz |
Oreilly | xzxzxzxzYESzzzxzxzz |
Oreilly | xxxzxNOxxzxz |
Burns | xxxzxYESzzz |
Burns | xNOzzxzxz |
Blake | xxxzxYESzzzxzxzz |
Blake | zxzzzzzzzNOzzxzxz |
Blake | xxxxNOzzzzzzzzz |
Blake | xzxzxzxzYESzzzxzxzz |
Blake | xxxzxYESxxzxz |
Blake | zxzzzzzzzNOzzxzxz |
Solved! Go to Solution.
Labels:
- Labels:
- Preparation
2 REPLIES 2
CoG
14 - Magnetar
12-01-2023
07:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
12-06-2023
09:34 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Thanks for this, after I played a bit with your flow I got what I needed.
