You can use variable lists in the define statement, see the example below. The variable lists specified are based on the variable in the input data set not how variables are listed in the column statement.
See here for a doc on variable list: https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/lrcon/p0wphcpsfgx6o7n1sjtqzizp1n39.htm
proc contents data=sashelp.cars order=varnum short;
run;
proc report data=sashelp.cars(obs=30);
column Make Model Type EngineSize Cylinders Horsepower MPG_City MPG_Highway Weight Wheelbase Length;
define make -- type / display style={background=lightyellow};
define mpg_: / analysis sum format=z12.2 style={background=lightblue};
run;
... View more