Quantcast
Channel: The Stata Blog - Latest Comments
Viewing all articles
Browse latest Browse all 1129

Re: Export tables to Excel

$
0
0

Dear Statisticians, I have a problem to get the results of putexcel in columns (i.e. using colwise option). Here is the example command that I have for STATA 13:

tabstat Lectured, statistics(count sum mean min p25 p50 p75 max) save
putexcel A1=matrix(r(StatTotal), names) using test.xlsx", sheet("Results") colwise replace

I don't understand why still the results that I get in excel are in one column. Could you please help me why colwise does not work?! I need the results in one row.


Viewing all articles
Browse latest Browse all 1129

Latest Images

Trending Articles



Latest Images