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

Dec 4, 2012 1:07 PM in response to Matthieu2012

If Numbers needs the "csv" to be spearated by semicolons, not commas, upon import then it will export a "csv" the same way. Yes, it is your regional settings that determines this. There is nothing you can do in Numbers to change it. Without changing your regional settings, I'm not sure how you fix the "csv" file.


From what I see in the "US" settings, a csv file only has quotes around text or numbers that have a comma in them. Maybe that's what you are seeing?


What regional setting (country) are you using? I'll try it out and see if I can recommend something.

Sep 27, 2013 1:49 AM in response to Badunit

These posts are almost a year old, but I still feel like adding a few notes.


I'm in Denmark, so a standard CSV-file uses semicolon as field seperator. This is basically because our floating point seperator is a comma, not a dot (we write 123,45 - not 123.45).


If I drag a comma-CSV file onto the Numbers icon - or just open it from the application - it fails. Everything is in the first column. However - if I drag the file onto an open spreadsheet, it works.


Editing a CSV-file in a text editor is a bad idea however. Doing a search and replace might break the file - or the content. You need some regular expression to only match the field seperators, not the same characters which might exists inside quotes (the string delimiter). And string delimiters are only needed if the string contains special characters (line break, field or string delimiter)


Anyway - try dragging the file onto a new, open spreadsheet. Did the trick for me without heavy search/replace operations.

Oct 1, 2013 12:52 PM in response to garryfromversailles

In order to change Decimal Point on your computer, you have to go through a series of hidden buttons.

Here are instructions on where to find what you need:

Open System Preferences, click on the 'Language & Text' Icon.

At top of dialog box it defaults to "Language' ... you need to click on 'Formats' tab.

Here you will find 'Customize ... ' Buttons

Click on Customize button to the right of 'Numbers'

Finally.

Here is where you change your decimal point settings.

Oct 3, 2013 5:35 AM in response to Wayne Contello

Taken from wikipedia:

A comma-separated values (CSV) (also sometimes called character-separated values, because the separator character does not have to be a comma) file stores tabular data (numbers and text) in plain-text form.

In Europe most countries use comma as the decimal separator, so the caracter mostly used to separate values is semicolon (;).

If you have problems, try switching in System Preferences > Language and text > Formats and then restart Numbers so it uses the new preferences.

Nov 7, 2013 6:19 AM in response to garryfromversailles

The latest version of Numbers, doesn't even allow you to drag/drop .CSV files, on an open spreadsheet (tested with a .CSV which was tab delimited).


I'm a sell-out for all things Apple. However, when I have to do conversion, especially with large .CSV files, I'll use LibreOffice's Spreadsheet, instead of Numbers. It works better. I can simply choose to change the type of delimiter used and I can do that, on the fly, to see a preview, of how the document will be imported. This is way more user-friendly and saves way more time.


http://www.libreoffice.org

Nov 7, 2013 6:28 AM in response to akademisalpeter

akademisalpeter wrote:


Taken from wikipedia:

A comma-separated values (CSV) (also sometimes called character-separated values,...

Aka,


There was a time when, in my experience, there were two popular formats in the U.S., Tab Separated Values (TSV) and Comma Separated Values (CSV). Wikipedia is taking a broader view, and that's fine, but some of us can't shake what we grew up with.


These two varients have been treated differently in Numbers, but how they are treated has never been very well described in the documentation. It does appear that the behavior is different in Version 3.0. Different, but not gone.


Jerry

Apr 6, 2014 8:30 AM in response to SGIII

Tested and doesn't work. While it was working on previous Number version


A shame to Mac (again)


If Steve was still there those kind of lazyness from devs wouldn't have happened


I have to send my csv to a friend who has a Windows and then he has to send me back to me the xls file


What a shame


This is decreasing of quality guys, since 1988 I am with Mac and very disappointed every upgrade is done

May 20, 2014 5:46 PM in response to Daniel Derome

That convert csv into excel that can be open nicely with Numbers.


If that works, then that's great, though I find pasting into an existing document where I want the data easier than having to download a new file that I then have to open in a new document and then copy and paste into my existing document.


And I'd be cautious about those third party plug-ins with tracking cookies on that site.


When you say "none of the above worked" what were the results you got?


SG

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.