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

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

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

Click the Type cell.

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

Set the variable's type to String.

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