I am trying to save SAS report into xlsx file. For this purpose, I used "ods excel" function. My hoping results was generated by "proc freq" procedure which has each row and col percentage. At this point, the problems came out. In the result xlsx file, counting values and each row and col percentage values are in the same cells. This make difficulties on following data handling steps. Is there any option that can handle this issue??
*now
| year | var1 | var2 |
|---|---|---|
| 2010 | 3 3.0 15.0 |
97 97.0 85.0 |
want
| year | var1 | var2 |
|---|---|---|
| 2010 | 3 | 15 |
| 3.0 | 97.0 | |
| 15.0 | 85.0 |

Try creating an output table instead and export it with
proc export. For example:If you want a custom looking report, you'll want to use
proc reporton the output table withods excelinstead