I have data-set with 4 with variable ID, SEQNUM, NAME, and ACTION. We should group by id, seqnum, and name in such a way that action variable should not have "not done" for that group. Below is the sample data with ID SEQNUM, NAME, and ACTION as variables 470010002 2 abc NOT CHANGED 470010002 2 abc not done 470010002 4 def NOT CHANGED 470010002 4 def NOT CHANGED 470010002 7 jkl NOT CHANGED 470010007 19 xyz INTERRUPTED 470010007 19 xyz not done 470010010 10 pqr not done 470010012 5 suv NOT CHANGED 470010012 6 lmn INTERRUPTED 470010012 6 lmn INTERRUPTED 470010012 6 lmn INTERRUPTED 470010012 6 lmn INTERRUPTED 470010012 6 lmn not done the output looks like this 470010002 4 def NOT CHANGED 470010002 4 def NOT CHANGED 470010002 7 jkl NOT CHANGED 470010012 5 suv NOT CHANGED
... View more