Forum Discussion

AndyPeper's avatar
AndyPeper
Copper Contributor
Oct 23, 2022
Solved

calculated Email column

i'm trying to set a calculated Email column

When i set this formula to concatenate from First Nam & Name it works perfectly

=[First Name]&""&NAME&"@"&"somedomain.some"

The problem is one user have her email in a different format and cannot use the previous formula

Can i use an IF function ?

I try this but i'm newbie and can't get it to work..is it possible ?

=IF([First Name]="Ash","email address",""","
(IF[First Name]&""&NAME&"@"&"somedomain.some""))

Thanks

  • AndyPeper 

    The syntax is like this 🙂 

    =IF([First Name]="Ash","HerEmail",[First Name]&""&NAME&"@"&"somedomain.some")

     

    If it's her name then set her email, else set the whats inputed 🙂 

     

    Syntax is the same as in Excel:

    =IF( condition1 , IF( condition2, TRUE , FALSE) , IF( condition3, TRUE , FALSE) )
  • AndyPeper 

    The syntax is like this 🙂 

    =IF([First Name]="Ash","HerEmail",[First Name]&""&NAME&"@"&"somedomain.some")

     

    If it's her name then set her email, else set the whats inputed 🙂 

     

    Syntax is the same as in Excel:

    =IF( condition1 , IF( condition2, TRUE , FALSE) , IF( condition3, TRUE , FALSE) )
    • AndyPeper's avatar
      AndyPeper
      Copper Contributor
      Final question...
      Suppose i wand to remove a special french character from her name example: "É" and replace it with no accent "E" in HerEnail address ?
    • AndyPeper's avatar
      AndyPeper
      Copper Contributor

      I tried this and seems to work for multiple exeption

      =IF([First Name]="Ash","HerEmail",IF([First Name]="Carol Ann","HerEmail",[First Name]&""&NAME&"@"&"somedomain.come"))

      • Yes exactly! It becomes basicly nested in each other. 🙂 You can also do as I wrote in the example above!

    • AndyPeper's avatar
      AndyPeper
      Copper Contributor
      Another question
      Can i have multile IF statment
      Suppose that i have 1 more or other users that need special synthax ?

Resources