Why not define a format and attach it to the variable VAR2?
proc format ; value $miss ' ' = 'Missing'; run; PROC TABULATE DATA=XX missing ; CLASS var1 var2; TABLES var2, var1 / nocellmerge misstext = "0"; format var2 $miss8.; RUN;