Data - Subset

Ribbon bar. Select the Data tab. In the Manage group, click Subset to display the Create a Subset dialog box...

Classic menus. From the Data menu, select Subset to display the Create a Subset dialog box...

...which is used to extract a section (subset) of the current spreadsheet. Use the options in this dialog box to create a new data file with a subset of variables and/or cases from the current data file.