I don't think that you can do this with sas, but there are so many papers about creating excel-files with tables and graphs, maybe one of the brings you closer to the required format.
2025 SAS Hackathon: There is still time!
Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!