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
Joe Canner <[email protected]>
To
"[email protected]" <[email protected]>
Subject
RE: st: Import Excel: last for columns ignored
Date
Tue, 18 Mar 2014 15:22:54 +0000
Sergiy,
Thanks for this information. I updated my Stata to the latest version (not sure why I didn't think of that before), but I still had the same problem. I will contact Stata to inform them that perhaps their fix did not entirely "take".
I tried to resave the Excel file, as per your advice, which didn't work, but I was able to copy and paste all of the cells to a new spreadsheet and that worked.
Regards,
Joe
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Sergiy Radyakin
Sent: Monday, March 17, 2014 11:22 AM
To: [email protected]
Subject: Re: st: Import Excel: last for columns ignored
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/
*
* 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/