Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Import Excel: last for columns ignored
From
Sergiy Radyakin <[email protected]>
To
"[email protected]" <[email protected]>
Subject
Re: st: Import Excel: last for columns ignored
Date
Mon, 17 Mar 2014 11:21:41 -0400
Joe, this is a confirmed problem with Stata 12, it used ranges data
saved in file rather then actually looking at the populated data. Some
programs do not set those ranges, hence the result.
I have reported same to StataCorp in summer 2013 and it is reported as
fixed in the 25nov2013 update (see item #10 here:
http://www.stata.com/help.cgi?whatsnew12).
You can resave in excel o refresh cached ranges. Gnumeric definitely
saved wrong ranges, open office AFAIK too.
Best, Sergiy Radyakin
On Fri, Mar 14, 2014 at 3:03 PM, Joe Canner <[email protected]> wrote:
> Dear Colleagues,
>
> I am trying to import an Excel spreadsheet into Stata 12.1. The spreadsheet has 22 columns (A-V) and 438 rows. When I try to import, the default cell range is A1:Q438 and when I try to change the "Q" to a "V" it tells me: "The right column is out of range. Choose a value between A and Q inclusive."
>
> I was able to work around this by saving the spreadsheet as a CSV, but that is not a great solution because all of the date/time variables are input as strings. Are there settings in Excel or Stata might cause this to happen? I thought I remembered a question like this previously on Statalist, but I couldn't find anything online.
>
> Thanks,
> Joe Canner
>
>
>
> *
> * For searches and help try:
> * http://www.stata.com/help.cgi?search
> * http://www.stata.com/support/faqs/resources/statalist-faq/
> * http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/