Spss if else. Alternatively, use FILTER or SELECT IF for.