I have 7 variables:(A,B,C,D,E,F,G)
. How in menu Transform-compute variable
in SPSS to summarize the variables whose value is equal to 1? I mean for example:
A=1
B=2
C=1
D=3
E=5
F=1
G=2
Here, only 3 vars have value 1. How to set a condition: sum if the value of the variable is equal to 1