SPSS command

crosstabs /tables hhtype01 by hhtype91. (where hhtype01 and hhtype91 are the variables representing household type in 2001 and 1991)