My table has an "across" statement and it seems to create a problem with spanrows. Here is an example of my SAS code with sashelp.class. data test2; set sashelp.class; id_num = "Information"; run; ods excel file="&export" options(sheet_name="test"); ods escapechar='~'; ods text="~S={font_size=14pt font_weight=bold vjust=m}~SAS Community"; ods text="~S={font_size=14pt font_weight=bold vjust=m}"; proc report data=test2 nowd ; column ('Measures' weight height) id_num, (name age sex); define weight / display ; define height / display ; define id_num / across '' ; define name / display ; define age / display ; define sex / display; run; ods excel close; Is there another way to have headers "Measures" and "Information" and also to have sex in merged cells like in your example ? Thanks,
... View more