Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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 Best 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

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 2, 2013 3:07 PM in response to ThisMoment

This.


Just so you know... CSV stands for COMMA Separate Values. Since the file you are attempting to read in as a CSV is using a semi-colon as the delimter Numbers does not know what do do. Open the file in a text editor and replace the semi-colons with either commas or tabs.


If both of those are characters are in "cells" then this may be a challenge.

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

Feb 21, 2014 8:45 AM in response to Alain Joaris

Hi Alain,


CSV import is already easily done with Numbers, using an AppleScript. See this thread , where you can download the script and/or Automator Service that incorporates the script so it shows up in your menu. If you need to use semcolon as a separator, just substitute {separator: ";"} for {} on the line indicated.


If you need OFX or QFX let me know and I'll post script.


SG

Apr 2, 2014 10:18 AM in response to ciao_alexisb

The release notes to Numbers 3.2 (just out yesterday) describe improvements to CSV import:


  • Drag and drop a CSV file directly into a sheet
  • Automatically update an existing table by dragging in a CSV file


Haven't had a chance to test the improvements. But between that (and, if necessary, easy-to-use AppleScripts) Numbers users need not fear they cannot easily get CSV data into their documents.


SG

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

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 ID.