Hello, I am writing to see if someone would be able to assist me with using tabout to export tabulations of variables with multiple values. I am attempting to tabout a crosstab of hourly rates, which has 24 values (0-23), by states, which has 45 values. I can tabout each state separately, with the code: tabout hour if state==15 using "StatesTime.xls", cells(col) replace, but is there anyway to do the states all at once?

Another question - the code I provided above exports the data to the tenth place. Is there a way to export it to the hundredth?

Many thanks.