Forum menu
MS Excel - appendin...
 

[Closed] MS Excel - appending a domain name to an existing name

Posts: 3016
Full Member
Topic starter
 
[#3267080]

I have a column of names which are in the format [i]firstname.surname[/i]

Is there a quick way to add [i]@domainname.com[/i] onto the end to create a valid email address?

I tried using a wildcard character find and replace i.e. find ?.? and replace with ?.?@domainname.com but that didn't work.

any ideas?


 
Posted : 21/10/2011 3:11 pm
Posts: 7100
Free Member
 

if [b]firstname.surname[/b] in cell A1

in B1 for example you could write [b]=A1&"@domainname.com"[/b]

if you didn't want any formula in the cell, you can always do a cut and Paste Special afterwards to replace it with the value only.


 
Posted : 21/10/2011 3:14 pm
Posts: 5185
Full Member
 

Do a [i]=(A1&"@domainname.com")[/i] . Where A1 is the cell with the first.last data. Copy it down all the cells you need.


 
Posted : 21/10/2011 3:15 pm
Posts: 3016
Full Member
Topic starter
 

blimey, that was quick! - ta, chaps - saved me a big headache.

May your wheels spin freely this weekend!


 
Posted : 21/10/2011 3:18 pm
Posts: 4041
Full Member
 

I hope you're not sending out lots of penis enlargement offer emails. I've not found one yet that works.


 
Posted : 21/10/2011 3:40 pm