Formulas and Functions

Formulas and Functions

Ask for help with your formula and find examples of how others use formulas and functions to solve a similar problem.

Multiple email contacts in the IF statement

Hi,

I have custom contact list column, which displays email contacts based on the conditions.

Here's an example of that column:

=IF(AND([Column1]@row = "Value1", OR([Column2]@row = "Value2", [Column2]@row = "Value3")), "email@email.com, email2@email.com, email3@email.com", IF(AND([Column1]@row = "Value5", OR([Column2]@row = "Value7", [Column2]@row = "Value8")), "email6@email.com, email5@email.com", email5@email.com

This is just a part of the code, but the column displays the emails based on the condition, however the notification we have set up to be send to that column is not going out. I have tried it as well on test environment with just mine and my colleague emails, and I haven't receive the notification. Is there any workaround for that?

Answers

  • Community Champion

    Hi @Piotr Z.

    I hope you're well and safe!

    You can't combine emails like that in a contact column.

    I'd recommend creating the same structure as the formula but as a workflow instead.

    Would that work/help?

    I hope that helps!

    Be safe, and have a fantastic week!

    Best,

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

  • Hi Andree,

    Thank you for your response. I found a way for it to work in that column. I am now able to send the notifications to emails contact based on previously mentioned calculation.

  • Community Champion
    edited 04/09/24

    @Piotr Z.

    Excellent!

    Happy to help!

    How did you do that? If I understood the questions, it's not possible.

    SMARTSHEET EXPERT CONSULTANT & PARTNER

    Andrée Starå | Workflow Consultant / CEO @ WORK BOLD

    W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35

    Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.

  • The reason why it wasn't displaying the emails correctly, and hence blocking the notification from being delivered, was the fact the email addresses used in the IF statement weren't available in the Smartsheet base of contacts. It wasn't added in any of the Groups or anywhere else. I've added all of the required email addresses to the group. Then I needed to turn off multiple value option on the Contact list column, and turn it back on. Worked like a charm

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions