I have a dataset that looks like the following: ID MONTH VAR 1 1 2 1 2 2 1 3 1 2 1 2 2 2 2 2 3 2 3 1 1 3 2 1 3 3 1 I need to get a count of ID's where VAR=1 for at least one of the months. I'm not a very advanced user. Is there code that could easily accomplish what I'm looking for?
... View more