You can use two columns of raw data, or summarized data in the form of a contingency table. (See Arrangement of Input Data.) Missing values are not allowed for contingency table data.
If your data are in frequency form, use Cross Tabulation and Chi-Square.
If you wish to change the order in which text categories are processed from their default alphabetized order, see Ordering Text Categories.