I have a survey question which is a "select all that apply" question (there are 24 choices), and at the end there is a choice basically "none of these". Survey monkey recorded all responses as 1, and non-responses as missing. I want to write syntax so that if the respondent chose ANY of the selections, which would include the "none" option, then instead of the non-responses being missings, they would be 0s. That way I could identify true missings as those who did not respond to any of the choices. Unfortunately, I am a novice with SPSS. I think I have SAS brain. Here is the code I am trying to use. Is there an easier way to do this, and how do I get SPSS to do what I am trying to do?

Thank you.

IF (IWU1ASCHPRE=1 OR IWU1BSCHPRE=1 OR IWU1CSCHPRE=1 OR IWU1DSCHPRE=1 OR IWU1ESCHPRE=1 OR

IWU1FSCHPRE=1 OR IWU1GSCHPRE=1 OR IWU1HSCHPRE=1 OR IWU1ISCHPRE=1 OR IWU1JSCHPRE =1 OR

IWU1KSCHPRE=1 OR IWU1LSCHPRE=1 OR IWU1MSCHPRE=1 OR

IWU1NSCHPRE=1 OR IWU1OSCHPRE=1 OR IWU1PSCHPRE=1 OR IWU1QSCHPRE=1

OR IWU1RSCHPRE=1 OR IWU1SSCHPRE=1 OR IWU1TSCHPRE=1 OR

IWU1USCHPRE=1 OR IWU1VSCHPRE=1 OR IWU1WSCHPRE=1 OR IWU1XSCHPRE=1

OR IWU1YSCHPRE=1) THEN IF IWU1ASCHPRE=. IWU1ASCHPRE=0.

EXECUTE.

Similar questions and discussions