Let's start with the screenshot. As you see in the screenshot, some runs like 147, 148 have two Activity codes ( 4 and 8). My problem is if two Activity codes (4 and 8) come with the same run. I want to omit activity code 4. If any run like 133 or 134 has a single activity code like 4, I want it to keep it intact. Worksheet attached herewith. I am using Tableau version10.0. Thank you in advance.