BookmarkSubscribeRSS Feed
shellp55
Quartz | Level 8

Hello I am using SAS version 9.3 and EG version 5.1. I have seen some of the other posts about exporting to multiple worksheets in Excel, which I will try, but I'm not sure how to save the data to know what is per worksheet. I have a data set of patient data and I am running various data quality checks on it.  The required fields for each criteria may differ but I want each criteria to be its own Excel worksheet.  So do I save each criteria as its own dataset to be sent to Excel as a separate worksheet or do I create one dataset  with a column of "DQ flag" to identify the criteria the case matches?  Thanks.

1 REPLY 1
Reeza
Super User

Either works, I'd recommend a single dataset.

Having each data set is a manual process and having them all in one allows you to use the BY group processing.

See the Data driven sheet example and the manual multiple worksheet examples here:

Base SAS: Demo: ExcelXP Tagset and Microsoft Excel

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 749 views
  • 0 likes
  • 2 in conversation