Hi, Frédérique,
to avoid this you have to make questions mandatory.
So you are sure that questions will not be forgotten.
Of course - if you want - you have to add an answer option like "don't know" or "no answer", or...
This way you have a code in all questions which were displayed to the respondent and only questions which were skipped stay empty.
If I interpret your text (" think the only way in SPSS to deal with this issue is to select cases based on the previous questions.") I fear you ran into this problem after finishing the survey.
In this case, yes, you have to do it in SPSS by recoding data.
E.g. Q1=missing, if (gender=1) and (Q1="") , if Q1 was to be answered by males
Best regards
Joffm
to avoid this you have to make questions mandatory.
So you are sure that questions will not be forgotten.
Of course - if you want - you have to add an answer option like "don't know" or "no answer", or...
This way you have a code in all questions which were displayed to the respondent and only questions which were skipped stay empty.
If I interpret your text (" think the only way in SPSS to deal with this issue is to select cases based on the previous questions.") I fear you ran into this problem after finishing the survey.
In this case, yes, you have to do it in SPSS by recoding data.
E.g. Q1=missing, if (gender=1) and (Q1="") , if Q1 was to be answered by males
Best regards
Joffm