| View previous topic :: View next topic |
| Author |
Message |
Waidesworld Power User


Joined: 02 Aug 2006 Posts: 73 Location: Woburn, MA
|
Posted: Fri Aug 01, 2008 9:33 am Post subject: Extract a column of email addresses |
|
|
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 |
|
 |
RickRandom Super User

Joined: 27 Jan 2006 Posts: 1082 Location: UK
|
Posted: Fri Aug 01, 2008 9:54 am Post subject: |
|
|
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 |
|
 |
Waidesworld Power User


Joined: 02 Aug 2006 Posts: 73 Location: Woburn, MA
|
Posted: Fri Aug 01, 2008 10:12 am Post subject: |
|
|
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 |
|
 |
jrkrideau Super User

Joined: 08 Aug 2005 Posts: 6733 Location: Kingston ON Canada
|
Posted: Fri Aug 01, 2008 10:24 am Post subject: |
|
|
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 |
|
 |
JohnV Administrator

Joined: 07 Mar 2003 Posts: 8982 Location: Lexinton, Kentucky, USA
|
Posted: Fri Aug 01, 2008 11:48 am Post subject: |
|
|
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 |
|
 |
Waidesworld Power User


Joined: 02 Aug 2006 Posts: 73 Location: Woburn, MA
|
Posted: Fri Aug 01, 2008 12:07 pm Post subject: |
|
|
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 |
|
 |
David Super User


Joined: 24 Oct 2003 Posts: 5668 Location: Canada
|
Posted: Fri Aug 01, 2008 4:50 pm Post subject: |
|
|
[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
David. |
|
| Back to top |
|
 |
jrkrideau Super User

Joined: 08 Aug 2005 Posts: 6733 Location: Kingston ON Canada
|
Posted: Sat Aug 02, 2008 5:32 am Post subject: |
|
|
| 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 |
|
 |
|