Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-09-2006, 12:07 AM   #1
Registered: Jan 2005
Location: Boston, MA
Distribution: Debian
Posts: 380

Rep: Reputation: 30
split pasted data in openoffice spreadsheet?


I remember, somehow, in Microsoft Excel, if I pasted something like a list:
I could tell Excel to split my data by the hyphen, and it would place 1a 2a and 3a all in column A, and place 1b 2b and 3b all in column B .......

but I can't figure out how to do this in openoffice, can anyone help me out?

Old 01-10-2006, 08:53 AM   #2
Senior Member
Registered: Dec 2005
Location: Massachusetts, USA
Distribution: Ubuntu 10.04 and CentOS 5.5
Posts: 3,873

Rep: Reputation: 335Reputation: 335Reputation: 335Reputation: 335
I just got this from the OOo online help. Start with step two since you already have a text file.

If you want to exchange data with a database that does not have an ODBC link and does not allow dBase import and export, you can use a common text format.
Importing Data Into
To exchange data in a text format use the Calc import/export filter.
1.Export the desired data from the source database in a text format. The CSV text format is recommended. This format separates data fields by using delimiters such as commas or semi-colons, and separates records by inserting line breaks.
2.Choose File - Open and select "Text CSV" from the File type combo box. Select the file and click Open.
3.The Text Import dialog appears. Decide which data to include from the text document.
Once the data is in a Calc spreadsheet, you can edit it as needed. Save the data as a data source:
Save the current Calc spreadsheet in dBase format in the folder of a dBase database. To do this, choose File - Save As, then select the File type "dBase" and the folder of the dBase database.
Exporting in CSV Text Format
You can export the current spreadsheet in a text format which can be read by many other applications.
1.Choose File - Save as.
2.In File type select the filter "Text CSV". Enter a file name and click Save.
3.This opens the Export of text files dialog, in which you can select the character set, field delimiter and text delimiter. Click OK. A warning informs you that only the active sheet was saved.

Last edited by stress_junkie; 01-10-2006 at 08:56 AM.
Old 01-10-2006, 08:55 AM   #3
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: SuSE, Ubuntu
Posts: 3,513

Rep: Reputation: 58
You can copy the dataset and insert it with 'Paste Special' -> 'Unformated text'. In the next dialog you'll be asked which separator to use.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl: Binary data to be split into ints, shorts and floats ppanyam Programming 1 12-08-2005 06:27 PM
Want to split a partition without data loss. Ebel Linux - Hardware 1 08-10-2004 12:56 AM
openoffice spreadsheet questions: disable autocomplete, soft line-break and bugreport codec Linux - Software 0 04-28-2004 06:10 PM
Saving partial spreadsheet data as html wyld Linux - Software 1 09-21-2003 10:13 AM
openoffice spreadsheet and image keevitaja Linux - Software 1 11-21-2002 04:08 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:58 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration