How do I import csv into numbers?

How do I import csv into numbers?


I'm trying to import a text file that is comma delimited into the Numbers application. I expect that each comma in the file will trigger a new column. However, the rows (CR delimited) are pasted into a single column. Any advice on how to make Numbers parse by commas?


I want it to look like this:


1 2 3 4 5

A B C D E


With each character existing in a different column.


Instead what I get it this:


1,2,3,4,5

A,B,C,D,E


All records for a row are all pasted in one column


Any advice?

MacBook Pro, Mac OS X (10.6.7), iWork Numbers Application

Posted on May 7, 2011 11:37 AM

Reply
Question marked as Top-ranking reply

Posted on Jun 29, 2012 8:51 AM

Rene,


CSV is a lousy data format, across country boundaries especially. Rather than worry over what Apple has or hasn't done about that, you could just drop your data into a text editor and use Find and Replace to convert to Tab Separated Variables, a more universal and much better behaved standard.


Jerry

58 replies

May 21, 2014 8:39 AM in response to Daniel Derome

All the line pasted in the first cell.


Was there only one line? What did your csv data look like? I'm pretty sure there is an easy fix that doesn't involve using websites that may or may not be secure, and won't require going through an Excel file format.


It is not a plug in.


The site (quite properly) discloses that it uses third-party plug-ins that install "cookies" on your computer to track what you do and transmit data to Google/Twitter/Facebook servers. My understanding is that once these cookies are on your computer, some continue to track and report what you do even when you are on other sites.


SG

May 24, 2014 7:29 AM in response to SGIII

Well, I changed my mind and thought that I had deleted this post. But it was not deleted.


Though I deleted the dropbox files


Sorry


It is because there was some sensible data on those files that it would have been silly to publish.


Finaly, I manage to find a way to transform csv to Numbers.


I open the csv file with textEdit and replace all the comas with tabs,


copy all


and paste in Numbers.


And it works.


Sorry again and thank you for your help.

May 24, 2014 7:57 AM in response to Daniel Derome

Daniel,


Glad you have found something that works for you. Your approach, however, will not work if there are commas within fields. That is one of the reasons for the service (aside from the fact that clicking once to run a service is easier than messing around with TextEdit). The script will handle the commas-within-fields situation, and many others. But it won't work on phantom data.


SG

Mar 29, 2015 7:56 AM in response to SGIII

I'm not sure how to find them... I try with "People" tab, on the top of the page, but I couldn't find them.

By the way, it's really amazing how well this forums are working after all these years. I've been a Mac user since 2007, so not so a long period, but here and in a lot of other forums I could help and be helped in a lot of circumstances. I believe internet will go back from social networks to forums again or, at least, the most polite part of it.

I hope Apple never close the "discussions".


Have a good day

May 24, 2015 9:15 PM in response to SGIII

Thank you sooo much. I've been reading this thread, doing settings, scripting and every other thing.....


Annnd all I had to do was re-type .csv to .tsv ...


and a batta-bing-batta-boom Numbers 2.3 opened up everything like little ducks in a row.


One star for helping doesn't do your suggestion right... should be..FIVE STARS \(*<>*)/


Thank you... m(_ _)m

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

How do I import csv into numbers?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.