Indexed Repeat and Relevance conditions

So I am trying to create a HH Roster which has variables like Age, gender which has to be filled for every member of the family .(A HH can have a maximum of 15-20 members) So I have created a repeat group for all these questions.
Now there are follow up questions (outside the group) which will be relevant only for particular age groups and particular gender out of these 15 members if the HHs.

So if i use indexed repeat does this work out for each of the relevance conditions?