As Statman states, you can use Compute to get what you need. In SPSS go to Transform -> Compute. Make a new variable (fill in the name of the variable in "Target variable". Than use the following Compute formula:
Where var1, 2 and 3 are the names of your variables. You can use more than three if neccessary. Let us know if that gives you the wanted result.