Forum Discussion
Emma Andrews
Aug 24, 2018Copper Contributor
Excel rules
Hello,
I'd like to set up a formula or rule that enables an email address to automatically appear when I add a name into the spreadsheet.
For example, if I entered ANDREWS in column A, EMMA into column B , I'd like excel to then automatically create the email address in column C as emma.andrews@hotmail.com
How can I do this? I'd also like to be able to easily over write this rule too if needed.
Thanks!
4 Replies
- Haytham AmairahSilver Contributor
Hi Emma,
You can use a formula such as this one:
=LOWER(CONCATENATE(IF(Starting_Part="First Name",A2,B2),
Separator,
IF(Starting_Part="First Name",B2,A2),
"@"&Email_Provider&".com"))To make the formula dynamic, I've used some options in the right table and made the formula refer to them.
Please find the attached file
Hope that helps
- Emma AndrewsCopper ContributorThank you very much, that's exactly what I needed.
- Philip WestSteel Contributor
=B1 & "." & A1 & "@Hotmail.com"
Assuming that they are all Hotmail addresses anyway..
- Emma AndrewsCopper ContributorThank you!