options linesize=96 pagesize=54 nocenter nodate nonumber; title 'World Wide Product Sales Report'; %tab2htm(capture=on); proc tabulate data=sashelp.prdsal2 formchar='82838485868788898a8b8c'x; table state, (actual predict ) * (sum*f=dollar14.2 mean*f=dollar14.2); var actual predict; class state; keylabel sum="Total"; keylabel mean="Average"; run; %tab2htm(capture=off, runmode=b, openmode=replace, htmlfile=ex3.html, brtitle=TABULATE Formatter Example, center=Y, tsize=+3, clcolor=blue, rlcolor=blue, twidth=90);