Hello
I have one problem, I need to create a new variable:

I have a dataset with the id of groups of students, the name of each integrate and if the student is female (=1) or not (=0)

I need to know two things:
1. groups with at least one women in each group and
2. groups with only formed by women

You have any ideas how can I do that?