BookmarkSubscribeRSS Feed
reone
Calcite | Level 5
Hi to all,
I try to import the file excel in Enterprise Guide.
In the same column I have a alphanumeric String(ABCF7453) or a number(3746). When I try to import this column i obtain only the alphanumeric(ABCF7453) string and I lost the number (3746);

Is possible to resolve this problem?

Thanks!!
1 REPLY 1
Doc_Duke
Rhodochrosite | Level 12
Reone,

I'm surprised at that. I would expect SAS to bring in the entire column as text rather than change the numbers into NULLs.

A thought for resolution: Export from Excel into .CSV and read from there. It's a bit more tedious, but you have more control.

Better yet, but it may take longer, upgrade to EG 4.3. Chris's team has really done a lot of work to make the Excel imports work better in 4.3.

A long shot on the cause: Your numbers are not really numbers. In Excel, if you type a leading blank in front of a number, it then treats it like a character field. If there are enough leading blanks, then the "number" is wider than the SAS text string was guessed to be and all you got were the leading blanks.

Doc Muhlbaier
Duke

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 1 reply
  • 1032 views
  • 0 likes
  • 2 in conversation