BookmarkSubscribeRSS Feed
madara155
Obsidian | Level 7

I need to export a SAS data table (with hundreds of rows) to excel with a summary of the data appearing at the top of the excel file (See the image below).

 

I can export data to Excel, but not sure how to get the summary at the top while displaying the rest of the data below it (I can get the summary to a new sheet using ODS EXCEL OPTIONS)

SAS_Excel_summary.JPG

 

Thanks in advance for any input.

2 REPLIES 2
Ksharp
Super User
You could use " ods excel options(sheet_interval='none' ) ; " to put two table in the same sheet.
Or Check this tagset:
https://support.sas.com/rnd/base/ods/odsmarkup/msoffice2k/index.html

hackathon24-white-horiz.png

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!

Register Now

Creating Custom Steps in SAS Studio

Check out this tutorial series to learn how to build your own steps in SAS Studio.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 942 views
  • 1 like
  • 3 in conversation