Exporting CSV files to Excel

P

Polux

Version: 2008 Operating System: Mac OS X 10.5 (Leopard) Processor: Intel I tried to export data from an external database (university) to both my Mac Book or my iMac Excel. I'm using the same software on both. The export works but Excel doesn't process the CSV file appropriately (everything ends up in same column) on the Mac Book (Mac OS X 10.6). On the iMac, the export succeeds and CSV file is processed appropriately (multiple columns with right data in) on one account, but not on the other. Tried to copy the good exported file on my Mac Book and other iMac account , but it ends up not being processed appropriatley either.

Never had this problem before with Excel 2004. Any solution?
 
C

Carl Witthoft

Version: 2008
Operating System: Mac OS X 10.5 (Leopard)
Processor: Intel

I tried to export data from an external database (university) to both my Mac
Book or my iMac Excel. I'm using the same software on both. The export works
but Excel doesn't process the CSV file appropriately (everything ends up in
same column) on the Mac Book (Mac OS X 10.6). On the iMac, the export
succeeds and CSV file is processed appropriately (multiple columns with right
data in) on one account, but not on the other. Tried to copy the good
exported file on my Mac Book and other iMac account , but it ends up not
being processed appropriatley either. <br><br>Never had this problem before
with Excel 2004. Any solution?

Can you list the exact steps you took? Can you open the .csv file in
TextWrangler or Word and verify that the items are separated by commas
and no other 'special' character?
 
P

Polux

> (e-mail address removed) wrote:
>
> > Version: 2008
> > Operating System: Mac OS X 10.5 (Leopard)
> > Processor: Intel
> >
> > I tried to export data from an external database (university) to both my Mac
> > Book or my iMac Excel. I'm using the same software on both. The export works
> > but Excel doesn't process the CSV file appropriately (everything ends up in
> > same column) on the Mac Book (Mac OS X 10.6). On the iMac, the export
> > succeeds and CSV file is processed appropriately (multiple columns with right
> > data in) on one account, but not on the other. Tried to copy the good
> > exported file on my Mac Book and other iMac account , but it ends up not
> > being processed appropriatley either. Never had this problem before
> > with Excel 2004. Any solution?
>
> Can you list the exact steps you took? Can you open the .csv file in
> TextWrangler or Word and verify that the items are separated by commas
> and no other 'special' character?
>
> --
> Team EM to the rescue! http://www.team-em.com [/QUOTE]

Thanks for responding

Here are the steps:

Launched my browser
Go to university site
Login to Grade Database (Multiple columns including list of students and and other datasuch as id, grade, etc.
Click Export Button to go to export settings
Reviewed settings and ensured they're set to csv
Launched the export
Received download on Mac Book
Launched download into Excel
Excel opens a workbook
Sheet contains only one column with all data in it without separators

Got this result first on the MacBook (running Snow leopard).Tried on the iMac. Same result in my account. tried on my wife's account. Gor a .csv file that looks just fine. Tried to copy this .csv file to the MacBook and on my account on the iMac: it doesn't work.

I have saved a copy of this file as .xlsx, so I can work on it on the MacBook, which I use at university rather than lugging home1000 exam books to enter grades. ;-(. I need to do some data analysis, sums and all, and need Excel to do this.

Don't know antyhing about TextWrangler...

To download a text file, I must change settings in the Grades database to Tab delimitors, which opens in the Mac text viewer I get some columns but no separators.

Now I will need to upload the grades to the Grade Database, but hesitate to use the .xlsx file at this point. I fear I'll have to copy results manually into the Grade Database. More work! ;-0

I am slowly moving to Macs but I still have PC in the lab. So compatibility is crucial still

Thanks.
 
C

CyberTaz

Thanks for responding

Here are the steps:

Launched my browser
Go to university site
Login to Grade Database (Multiple columns including list of students and and
other datasuch as id, grade, etc.
Click Export Button to go to export settings
Reviewed settings and ensured they're set to csv
Launched the export
Received download on Mac Book
Launched download into Excel
Excel opens a workbook
Sheet contains only one column with all data in it without separators

Got this result first on the MacBook (running Snow leopard).Tried on the iMac.
Same result in my account. tried on my wife's account. Gor a .csv file that
looks just fine. Tried to copy this .csv file to the MacBook and on my account
on the iMac: it doesn't work.

I have saved a copy of this file as .xlsx, so I can work on it on the MacBook,
which I use at university rather than lugging home1000 exam books to enter
grades. ;-(. I need to do some data analysis, sums and all, and need Excel to
do this.

Don't know antyhing about TextWrangler...

To download a text file, I must change settings in the Grades database to Tab
delimitors, which opens in the Mac text viewer I get some columns but no
separators.

Now I will need to upload the grades to the Grade Database, but hesitate to
use the .xlsx file at this point. I fear I'll have to copy results manually
into the Grade Database. More work! ;-0

I am slowly moving to Macs but I still have PC in the lab. So compatibility
is crucial still

Thanks.
One unclear point in your steps: What do you mean by "Launched download into
Excel"? There are at least 3 possibilities;

1- That you double-clicked the file in Finder,
2- That you used File> Open in Excel, or
3- That you used Data> Get External Data - Import Text File

Each has potentially different results depending on what CSV coding was used
to create the file you downloaded. The problem is most likely due to the
end-of-record encoding used as well as the field delimiter. The difference
between carriage return/line feed encoding is sending the wrong signal so
the entire body of content is being interpreted as one long field or a
number of long one-field records. If you haven't tried #3 perhaps that will
provide better results. It launches the Text Import Wizard which allows you
to specify what field delimiters are appropriate for the file.

As for the latter part of your reply, a .csv _is_ a text file. One of the
primary differences between it & the other text file (.txt) you've
downloaded is that the .csv (Comma Separated Values) uses a comma to
separate the fields whereas the other text file uses the Tab character for
that purpose. Either should be usable. However, the .txt file will not open
in Excel if you double-click the icon. That extension is associated with
text editors, such as TextEdit.

If you use method #2 or #3 above, though, you should be able to Open the
file from within Excel. Alternatively you can Control/Right-Click the file
icon in Finder & use Open With to specify opening the file with Excel.

HTH |:>)
Bob Jones
[MVP] Office:Mac
 
P

Polux

Bob, I guess you need to read my entire post. I don't really need explanations on what a .txt file is. I'm trying to understand why something works on one account on my iMac, but not on the other account or on my MacBook, which are using the exact same Office 2008 package. As for the launch issue you raise, I simply click on the downloaded file in the download view. Nothing more. Your third choice is not a choice, since I'm exporting from the university database to my Mac, I'm not &quot;importing&quot;. Maybe I should just go back to Excel 2004...
 
C

Carl Witthoft

Bob, I guess you need to read my entire post. I don't really need
explanations on what a .txt file is. I'm trying to understand why something
works on one account on my iMac, but not on the other account or on my
MacBook, which are using the exact same Office 2008 package. As for the
launch issue you raise, I simply click on the downloaded file in the download
view. Nothing more. Your third choice is not a choice, since I'm exporting
from the university database to my Mac, I'm not &quot;importing&quot;. Maybe
I should just go back to Excel 2004...

No, you need to read his post.

A .csv file is pure text. Simpletext or Word or most anything else
will open it.

If you can't open the exported file in a text editor, then it is not a
csv file in the first place.

And there is no such thing as 'tried to copy file [from one mac to
another] and it didn't work.' Can you explain what you actually tried
to do?
 
C

CyberTaz

Perhaps that's the question you had in your mind but it doesn't appear in
what you posted. You described a situation & requested a solution. All
alternatives offered ‹ including #3 ‹ are viable & pertinent to that end.

If you choose to be cavalierly dismissive of the suggestions offered that's
certainly your option, but there's no justification for snide arrogance. I
won't bore you with any further [voluntary] attempts to assist.

Good Luck |:>)
Bob Jones
[MVP] Office:Mac
 
X

XinXin

Hi, if it works on one account but not the other, it appears to me your user account settings are different. Can you please follow this KB to troubleshoot? Pay special attnetion to the safe boot sections:

http://support.microsoft.com/kb/979949

Thanks,
XinXin
Macintosh Business Unit, Microsoft
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top