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

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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