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!
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!