Without any data or seeing the code you've tried, it's hard to make much of a suggestion, but I would be tempted to use PROC REPORT and something like the program below.
cynthia
Available on demand!
Missed SAS Innovate Las Vegas? Watch all the action for free! View the keynotes, general sessions and 22 breakouts on demand.