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

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 965 views
  • 1 like
  • 3 in conversation