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

Re: Export tabulation results to Excel—Update

$
0
0

Hi, i'm wondering whether the tab2xl command can be extended to include 'if' command.
Basically, my data only has three variables in it: userid, questionnaire, province

However, whenever i'm putting the command:

tab2xl demography if questionnaire=="m1" using m1test, col(1) row(1)

Stata returns the command:
(212 observations deleted)
m1 not found

Does it work with if statements?


Viewing all articles
Browse latest Browse all 1125

Trending Articles