I have pulled a report from a website. The website only allows a certain number of characters. For instance it might go to john.smith@, dave.bird@, tom.jones@... this has been pulled into an excel sheet. I want to add the domain at the end of the email address so it would become
john.smith@whatever.com
dave.bird@whatever.com
tom.jones@whatever.com
But I have a list of 2000 usernames and I don't want to go line by line inserting whatever.com.
Is there a way to automatically do this?
Thank you
Last edited by NBVC; 06-10-2009 at 12:00 PM.
If it always the same "whatever.com" then you can use Edit|Replace
and Replace @ with @whatever.com
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
I'd use CONCATENATE. In col A you'd have john.smith@, In col B, put whatever.com, then in col C enter this formula:
=CONCATENATE(A1,B1)
Paste down col C and you should have them all.
If you copy it to another sheet use the Paste Special to remove the formula.
concatenate would work better - as by using replace, you will stand chances of replacing un-wanted text
Mohit Khurana, CFA
Excel Matic - A blog on MS Excel
List of Essential Excel Shortcuts
e-Book on Excel Math Functions
Please add to our reputation if you find our replies as helpful.
Thanks so much for all of your help! That was awesome!
If you are satisfied with the solution(s) provided, please mark your thread as Solved.
How to mark a thread Solved
Go to the first post
Click edit
Click Go Advanced
Just below the word Title you will see a dropdown with the word No prefix.
Change to Solved
Click Save
Microsoft MVP - Excel
Where there is a will there are many ways. Pick One!
Please read the Forum Rules
If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below
Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.
Preferred Charities: Lupus Canada and Sick Kids Foundation.
Feel Free to Donate if you want to, for the assistance you received today.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks