Hi

I'm working on a input dataset from a questionnaire.

Some variables in the questionnaire is required to answer. Does the person not answer that required question then all the other variables become missing or zero.

I really want to replace zero variables with . after that not answered required question.

So basically a code that says: "After last required question that is not answered all variables after that var has to be replaced with missing instead of zero "