I want to compute a new variable from values of other variables

like var1=0 and var2 =1 then newvar=1

var1=1 and var2=1 then newvar=2

var1=1 and var2=2 then newvar=3

how this can be done in spss

thank you

More Mohammad Kamrul Hassan Shabuj's questions See All
Similar questions and discussions