OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Parsing a string & shifting data selectively

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc
View previous topic :: View next topic  
Author Message
gmr324
Newbie
Newbie


Joined: 14 May 2012
Posts: 1

PostPosted: Mon May 14, 2012 2:58 pm    Post subject: Parsing a string & shifting data selectively Reply with quote

I have a csv file which was generated by exporting data from the SEO Quake Firefox plugin. However all the data was deposited into one column as a string. I'd like to parse and shift some of the data into another column. The SEO Quake Firefox plugin exported the following data into one column. The data is a URL and a number which represents the page rank of the URL as follows:

http://www.oasisnyc.net/;"6"

What I need to do is remove the (Wink semi-colon and shift just the number (in this case 6) into the next column B

So, the end result from that string of data in column A is the url (http://www.oasisnyc.net) in column A and the number 6 in column B.

How can I accomplish this parsing and data separation?

Thanks

George
Back to top
View user's profile Send private message
ken johnson
Super User
Super User


Joined: 23 Apr 2009
Posts: 2032
Location: Sydney, Australia

PostPosted: Mon May 14, 2012 3:53 pm    Post subject: Reply with quote

Select the text in column A then go Data|Text to Columns... to bring up the "Text to Columns" dialogue.
Tick the "Other" checkbox under the "Separated by" heading then enter a semicolon followed by a double quote (;") into the textbox immediately to the right, then tick the "Merge delimiters" checkbox then click OK.

Ken Johnson
_________________
If your problem has been solved please add "[Solved]" to the beginning of your first post title (edit button).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Calc All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group