Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: excel to stata / variable names shift to the value row


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: excel to stata / variable names shift to the value row
Date   Sun, 27 Feb 2005 17:19:58 -0000

A list of known problems in this area is in 

http://www.stata.com/support/faqs/data/newexcel.html

That may explain what is happening to you. 

The issue is really upstream of Stata. A program 
like Excel is totally indulgent on what precise layout 
you may adopt, so there is no reason to expect Stata
to be able to understand all possible layouts. 

Nick 
[email protected] 

tapes (a.k.a. Tapes) 
 
> I've got such experience when importing data from
> excel to stata (directly copy or using insheet
> command): Sometimes stata can automatically recognize
> variable names from the excel file and leave them in
> variable name row of the stata, but sometimes it turns
> out that all the variable names shift to the value row
> of the stata. In fact, the variable names in both
> cases seem 'normal' and similar to each other. Any
> suggestions about how to ensure stata to keep variable
> names in the right place? Thank you very much.  

*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index