Question: spss how to group variables?
Answer: Click Data > Split File. Select the option Compare groups. Double-click the variable Gender to move it to the Groups Based on field. When you are finished, click OK.