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

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

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