Data Editor

Non-numeric data, such as strings of text, can also be entered in the Data Editor.

step Click the Variable View tab at the bottom of the Data Editor window.

step In the first cell of the first blank row, type sex for the variable name.

step Click the Type cell.

step Click the button in the Type cell to open the Variable Type dialog box.

step Set the variable's type to String.

step Click OK to save your changes and return to the Data Editor.