BookmarkSubscribeRSS Feed
Ronein
Onyx | Level 15

Hello

I have XLSX Excel file with 1 columns with following data: (I put example of the data)

I am trying to import the XLSX file into SAS using file import wizard.

I get an error and I am not able to import it!

What step should I do please?

Ronein_0-1628162986810.png

 

 

118 ,  201 ,  304 , 
301 ,  333 , 
333 , 
0 ,  308 , 
0 ,  304 , 
304 , 
118 ,  201 ,  308 , 
0 ,  118 ,  201 ,  333 , 
118 ,  201 ,  304 , 

 

2 REPLIES 2
ballardw
Super User

One of the wonderful joys of working with Microsoft Office software like Excel is that the specific engines for accessing data critical. If you use an option that is intended to work with older files on a newer file format you get such errors because the underlying files are considerable different.

You have to know which option goes with which file format. Read the Proc Import documentation carefully. There are tables with multiple file related options and which file formats they work with.

 

Or save yourself a lot of headaches with fixing data later by saving the XLSX to CSV and read that.

hackathon24-white-horiz.png

The 2025 SAS Hackathon Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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