BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
tianerhu
Pyrite | Level 9

I have a file which extension name is xlsx, Can I get a sas data set from the xlsx file using xlsx engine?

1 ACCEPTED SOLUTION

Accepted Solutions
Cynthia_sas
Diamond | Level 26
Hi:
Depending on the XLSX file, you should be able to read it using the XLSX engine. We show this technique in our free Programming 1 class. Of course, SAS will only read data from the file, so you can't for example, have a sheet with mixed data in the cells and then graphs embedded. SAS reads tables structured of rows and columns from the Excel file.
Cynthia

View solution in original post

3 REPLIES 3
Cynthia_sas
Diamond | Level 26
Hi:
Depending on the XLSX file, you should be able to read it using the XLSX engine. We show this technique in our free Programming 1 class. Of course, SAS will only read data from the file, so you can't for example, have a sheet with mixed data in the cells and then graphs embedded. SAS reads tables structured of rows and columns from the Excel file.
Cynthia
tianerhu
Pyrite | Level 9

Thank you for your help.

Reeza
Super User
Please mark the question as answers, by marking Cynthia's answer as correct.

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

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

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
  • 3 replies
  • 947 views
  • 0 likes
  • 3 in conversation