I would like to calculate the last column with SPSS without turning the columns into 1.
Asked
Active
Viewed 5,299 times
1 Answers
5
You can use the COUNT
command to do this, small example below.
DATA LIST FREE / Tool1 Tool2 Tool3.
BEGIN DATA
1 3 8
1 5 1
1 . .
2 3 .
3 . .
END DATA.
COUNT Tool# = Tool1 TO Tool3 (LOWEST THRU HIGHEST).
EXECUTE.

Andy W
- 5,031
- 3
- 25
- 51
-
3Or use `compute Tool# = nvalid(Tool1 TO Tool3)`. – ttnphns Jan 22 '15 at 18:32