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

Extract a column of email addresses

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


Joined: 02 Aug 2006
Posts: 76
Location: Woburn, MA

PostPosted: Fri Aug 01, 2008 9:33 am    Post subject: Extract a column of email addresses Reply with quote

I have a column of email addresses and need to extract it to replace the row division with a comma. Is there an easy way to do this? I have tried with wordpad, notepad etc. and am getting nowhere.
_________________
Can your camera talk to your computer? We can make it happen...any camera, any computer
Back to top
View user's profile Send private message Visit poster's website
RickRandom
Super User
Super User


Joined: 27 Jan 2006
Posts: 1082
Location: UK

PostPosted: Fri Aug 01, 2008 9:54 am    Post subject: Reply with quote

Not sure what you mean by "replace the row division with a comma".

Perhaps copy a few examples of what you have and what you want to get.

Maybe the REPLACE( ) function will do what you want?
Back to top
View user's profile Send private message
Waidesworld
Power User
Power User


Joined: 02 Aug 2006
Posts: 76
Location: Woburn, MA

PostPosted: Fri Aug 01, 2008 10:12 am    Post subject: Reply with quote

say column E reads

a@b.com
c@d.com
e@f.com

and I want to extract this data into a one liner for a mass email (not Spam, my customers)
to read
a@b.com, c@d.com, e@f.com
_________________
Can your camera talk to your computer? We can make it happen...any camera, any computer
Back to top
View user's profile Send private message Visit poster's website
jrkrideau
Super User
Super User


Joined: 08 Aug 2005
Posts: 6732
Location: Kingston ON Canada

PostPosted: Fri Aug 01, 2008 10:24 am    Post subject: Reply with quote

Waidesworld wrote:
say column E reads

a@b.com
c@d.com
e@f.com

and I want to extract this data into a one liner for a mass email (not Spam, my customers)
to read
a@b.com, c@d.com, e@f.com


I am not sure I quite understand this but I'd suggest copy the list of addresses , paste into Writer and use the Find & Replace to do this.

With Regular expressions selected stick "$" in Find and "," in replace and you should get what you want.

To do this in Calc uou could do something with CONCATENATE or & but is looks nasty to do.
_________________
jrkrideau
Kingston ON Canada
Currently using Windows 7 & OOo 3.4.0 and Ubuntu 12.04 & LibreOffice 3.5.2.2
Back to top
View user's profile Send private message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 9183
Location: Lexinton, Kentucky, USA

PostPosted: Fri Aug 01, 2008 11:48 am    Post subject: Reply with quote

You might also do a Transpose in Calc.

Select the addresses, copy and click in the first address (or any cell). Do Edit > Paste Special, check Transpose, click OK and then Yes, if the overwrite warning appears.

This won't get you a comma but will get the addresses in one row. Just thought I'd toss this in if you didn't know about Transpose.
Back to top
View user's profile Send private message
Waidesworld
Power User
Power User


Joined: 02 Aug 2006
Posts: 76
Location: Woburn, MA

PostPosted: Fri Aug 01, 2008 12:07 pm    Post subject: Reply with quote

thing is, I know a lot of the moves but the Friday brain farting has got the better of me. Thanks for the reminders. I am set now.
_________________
Can your camera talk to your computer? We can make it happen...any camera, any computer
Back to top
View user's profile Send private message Visit poster's website
David
Super User
Super User


Joined: 24 Oct 2003
Posts: 5668
Location: Canada

PostPosted: Fri Aug 01, 2008 4:50 pm    Post subject: Reply with quote

[quote="Waidesworld"]and I want to extract this data into a one liner for a mass email (not Spam, my customers)


You might try a better option: http://www.infacta.com . They have a free, and still very useful version. You can import email addresses ...read the instructions on that in the program. I use it to send a Christmas greeting to family and friends.

If it is for SPAM, I'll find out where you live Evil or Very Mad Evil or Very Mad Evil or Very Mad Evil or Very Mad

David.
Back to top
View user's profile Send private message
jrkrideau
Super User
Super User


Joined: 08 Aug 2005
Posts: 6732
Location: Kingston ON Canada

PostPosted: Sat Aug 02, 2008 5:32 am    Post subject: Reply with quote

JohnV wrote:
You might also do a Transpose in Calc.

Select the addresses, copy and click in the first address (or any cell). Do Edit > Paste Special, check Transpose, click OK and then Yes, if the overwrite warning appears.

This won't get you a comma but will get the addresses in one row. Just thought I'd toss this in if you didn't know about Transpose.


No comma but Waidesworld could export the data as a csv file?
_________________
jrkrideau
Kingston ON Canada
Currently using Windows 7 & OOo 3.4.0 and Ubuntu 12.04 & LibreOffice 3.5.2.2
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