Forum Discussion

Emma Andrews's avatar
Emma Andrews
Copper Contributor
Aug 24, 2018

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 Amairah's avatar
    Haytham Amairah
    Silver 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 Andrews's avatar
      Emma Andrews
      Copper Contributor
      Thank you very much, that's exactly what I needed.
  • Philip West's avatar
    Philip West
    Steel Contributor

    =B1 & "." & A1 & "@Hotmail.com"

     

    Assuming that they are all Hotmail addresses anyway..