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-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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