title1 '1a. Formatted Order, Categorical and Continuous Data as Columns'; title2 'Default of N and Sum'; proc tabulate data=sashelp.shoes missing; class region product subsidiary; keylabel n='Count' mean='Mean'; var stores sales inventory returns; * Both character and numeric variables in display order; table product='Product' all='Total' sales='Sales' returns='Returns'; * Alternative syntax for the same table layout; *table (product='Product')(all='Total')(sales='Sales')(returns='Returns'); run;