Here is a Google Sheet with a form like the one you're describing. You can see the notes column for some additional explanations and you can export it to an Excel document. @debu_odk this is somewhat similar to your situation from Randomly Choose a Name from a Household Roster so you may find it informative as well.
@A.N.M_AL-IMRAN I think you have almost all the pieces but it looks like you may have hardcoded some things so only 2 household members get follow-ups. The crash @rosie was experiencing is because of the use of the selected
function. I believe that function is typically used to verify whether a particular value was selected by the user in a select
or select1
question.