Conference Paper
Tips to Read In and Output Excel Spreadsheets in SAS
Jaime Yan, Chao Su, Changhong Shi
PharmaSUG 2023 · 2023 · QT-085
Abstract
Excel is widely used in clinical trials to save and transfer data, and analysis & reporting programmers routinely receive spreadsheets and produce customized Excel reports for other departments. This paper collects practical techniques for reading different Excel formats (xls, xlsx, xlsm, xlsb, csv) into SAS via LIBNAME engines and PROC IMPORT — including how to choose between them by environment and format — and for writing well-formatted outputs with PROC EXPORT and ODS EXCEL. It offers practical decision tips for choosing import/export methods and output formats.
Keywords
SAS · Excel · ODS EXCEL · PROC IMPORT/EXPORT · data exchange
Cite
Jaime Yan, Chao Su, Changhong Shi. "Tips to Read In and Output Excel Spreadsheets in SAS." PharmaSUG 2023, 2023. doi:10.5281/zenodo.22182912.