We’d like to remind Forumites to please avoid political debate on the Forum.
This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide
Excel - getting email addresses from cells
Comments
-
Or Fuzzy Ducket0
-
Personally I'd write a VBA loop, the using the right and mid functions to go back from the end of the e-mail address until a space was found, then get that position, (you need the length of the string too) and then all the characters right of that output into a new cell, it's complex but would work first time!
You could probably do it with a complex formula too...
Or copy the entire list into a text editor (TextPad much better than notepad).
Search for the spaces and replace with ", " (that's comma space)
Then save the document as a text file.
Open (import) into excel as a CSV delimited file, put the data into separate cells, you should then have firstname, surname, email in 3 columns...0 -
In an hour and a half I could have copied and pasted the email addresses to a new column...and had a coffee and some food.0
-
There's the built in text to columns wizard. Can't see why you'd use anything else...Ubuntu is an ancient African word, meaning: 'I can't configure Debian'.0
-
In an hour and a half I could have copied and pasted the email addresses to a new column...and had a coffee and some food.
Yes but that isn't productive given I'll probably need to do the same procedure in the future.
I'd rather spend some time finding out a more effective way to do it now.
But thank you for the immensely helpful post.0 -
Strider590 wrote: »No it works seriously, try it again lol
Paste the list with the spaces replaced, back to excel from notepad then select that new column and do the replace *ZZ with nothing.
Only using ZZ because unless you have "Buzz Lightyear" on your email list, nobody will have ZZ in the name
* is the wildcard function, by the way.
In Notepad it's replacing the space between first name and surname with ZZ. But not the space between surname and email, which is strange.0 -
Right I think the problem in both Excel and Notepad is that it's not recognising the space between surname and email address as a space. This would explain why the delimiting suggestion isn't working.
Any ideas why this would be?
PS I can't post the actual data due to DPA.
Thanks0 -
if its not a space not sure what character it would be.
if you highlight the 'space' in excel and then copy and paste into the other field option on the delimited options page (where you selected space originally).2014 running challenge 471.95 km / 1000 km.0 -
alternatively as a quick and dirty fix, download and install textpad (https://www.textpad.com) and open the file in that, then use the block select mode (under configure menu) and you can highlight the block of text with emails in and copy & paste to a new file.
Not a fix as such, but would allow you to get the data.2014 running challenge 471.95 km / 1000 km.0 -
Yes but that isn't productive given I'll probably need to do the same procedure in the future.
I'd rather spend some time finding out a more effective way to do it now.
But thank you for the immensely helpful post.
I take it you have done it then???
Why not just put all 3 pieces of info in different columns in the first place?
No offence, but it's been quite an inefficient way so far.....0
This discussion has been closed.
Confirm your email address to Create Threads and Reply
Categories
- All Categories
- 354K Banking & Borrowing
- 254.3K Reduce Debt & Boost Income
- 455.3K Spending & Discounts
- 247.1K Work, Benefits & Business
- 603.7K Mortgages, Homes & Bills
- 178.3K Life & Family
- 261.2K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.7K Read-Only Boards