Multiple IF formulas

Hi I have a question relating to expressions. I have a form whereby the user email entered automatically fills out the next column [Operator]. In the AppSheet App, Auto compute, Formula for column Operator (Name) I have the following formula entered:
IF([User Log In] = โ€œJohnDoe@gmail.comโ€, โ€œJohn Doeโ€, John Doeโ€™โ€™)
What I want to do is add more user emails and different operator names only I donโ€™t know how to write this expression. Just for clarification I would like it to be like this;
IF([User Log In] = โ€œJohnDoe@gmail.comโ€, โ€œJohn Doeโ€, John Doeโ€™โ€™) + IF([User Log In] = โ€œJaneDoe@gmail.comโ€, โ€œJane Doeโ€, Jane Doeโ€™โ€™) + IF([User Log In] = โ€œJohnSmith@gmail.comโ€, โ€œJohn Smithโ€, John Smithโ€™โ€™)

Solved Solved
0 3 147
1 ACCEPTED SOLUTION

Steve
Platinum 4
Platinum 4

View solution in original post

3 REPLIES 3

Steve
Platinum 4
Platinum 4

Hi @Steve that worked perfect. Thanks for the guiding me in the right direction. This worked:
IFS(
(USEREMAIL() = ***@gmail.com), โ€œJamesโ€,
(USEREMAIL() = ***@gmail.com), โ€œJackโ€,
TRUE, โ€œโ€,
)

Cheers for the help.

Also:

Top Labels in this Space