BookmarkSubscribeRSS Feed
kishiyo
Calcite | Level 5

Hello everyone, 

 

I am in the process of importing and converting some financial dataset (as Excel) into a SAS dataset. Please see the attached - the sheet 1 is raw data on firm characteristics I have downloaded from a website. I would like to change the format of the sheet 1 dataset into something similar to the sheet 2 dataset for me to run some analysis. I have tried to use such technique as Proc Transpose, but haven't able to figure out exactly why. 

 

Does anybody have any experience with this? 

 

I sincerely appreciate your help. 

 

Bet,

Kishiyo

2 REPLIES 2
Reeza
Super User

Transpose is the correct approach. Please show what you've tried so far and indicate what isn't working specifically. "not working" can mean anything from you missed a semicolon to your computer exploded so it's a not an informative description of what is occuring.

 


@kishiyo wrote:

Hello everyone, 

 

I am in the process of importing and converting some financial dataset (as Excel) into a SAS dataset. Please see the attached - the sheet 1 is raw data on firm characteristics I have downloaded from a website. I would like to change the format of the sheet 1 dataset into something similar to the sheet 2 dataset for me to run some analysis. I have tried to use such technique as Proc Transpose, but haven't able to figure out exactly why. 

 

Does anybody have any experience with this? 

 

I sincerely appreciate your help. 

 

Bet,

Kishiyo


 

 

kishiyo
Calcite | Level 5
Dear Reeza,

Thank you for your reply - I will do that!

Best,
Kishiyo

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!

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.

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