I am not sure what you try to achieve exactly, but here is some things that might be useful to you:
- Look into if-functions to create new variables, you can for instance create a variable that holds a 1 for all cases that meet your criterium.
- Via the "select cases" option you can do analyses only for certain cases. You can also combine commands here (e.g., age > 16 & age < 65 & (egion = 1 | region = 2)) gives you people older than 16, younger than 65,w ho live in region 1 or region 2. You can also first calculate a new var with the if-function and then use this to select certain cases.
- via the split file option, you can get output separately for groups (e.g., male/female or gender).
is this what you need?