Quantcast
Channel: Statistics Help @ Talk Stats Forum - SAS
Viewing all articles
Browse latest Browse all 310

Exporting to SAS from big excel file with 10,000 rows and 1000 columns/reorganizing

$
0
0
Dear Friends, thanks in advance for your support and help. I have a big excel file which needs to be exported into sas. I need to reorganize the data when the SAS data set is created. To explain what I mean I have created a tiny sample of excel file in the attached file. Sheet 1 mirrors the way data looks now in excel and sheet 2 mirrors what I want it to look once exported to sas.
I could have done the reorganization in excel itself using pivot tables but that is not possible in this case as the number of rows will exceed 10 million which excel cannot support. So, I have to do the coding in SAS itself.
Since there are many such excel files which I will need to export in a similar fashion, it will be impractical to cut down each file into 10 sheets and then create pivot tables.
Please let me know if you cannot understand from the sheet attached. As i said, its just a very tiny version of real sheet which has 1000 columns of company codes and daily dates for 30 years!
Attached Files

Viewing all articles
Browse latest Browse all 310

Trending Articles