Hi, if you really want words ...
data x; input x1-x5; datalines;
. . . . . 0 0 0 0 0 1 0 0 0 0 1 1 0 0 0 1 1 1 0 0 1 1 1 1 0 1 1 1 1 1 ;
data y; set x; score = upcase(put(sum(of x: ),words.)); run;
x1 x2 x3 x4 x5 score
. . . . . MISSING
0 0 0 0 0 ZERO 1 0 0 0 0 ONE 1 1 0 0 0 TWO 1 1 1 0 0 THREE 1 1 1 1 0 FOUR 1 1 1 1 1 FIVE
... View more