keto04 & ronan conroy's suggestions will get you going. if you are in Stata for the longhaul, it will pay dividend to check [R] -insheet- command out to input your spreadsheet data.
regards,
bw
----------------------------------------
> Date: Wed, 19 Jul 2006 12:26:42 +0200
> From: [email protected]
> Subject: st: importing data from excel
> To: [email protected]
>
> Hello,
>
> after having imported data from Excel, I noticed that for some variables Stata cutted the decimal places and considered these variables as two seperate variables.
>
> E.g. Var1: 15,25 --> Var1: 15, Var2: 25
>
> Strangely, this does not happen to all comma-containing variables (although they all have the same format in Excel). Anyone a clue why this happens and what can be done about it?
>
> Regards,
> Julia
>
> P.S.: In case this is an Excel-specific problem, apologies for posting the issue here!
> --
> Universität Hohenheim
> Lehrstuhl für Außenwirtschaft
>
> "Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
> Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail
> *
> * For searches and help try:
> * http://www.stata.com/support/faqs/res/findit.html
> * http://www.stata.com/support/statalist/faq
> * http://www.ats.ucla.edu/stat/stata/
_________________________________________________________________
Try Live.com: where your online world comes together - with news, sports, weather, and much more.
http://www.live.com/getstarted
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/