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.

Current user + formula in Contact List?

I'm trying to auto-assign an owner to a task based on the task type:

The Owner column is a Contact List Column and the email addresses specified in the formula are associated with current user accounts (one being myself).

But when I use a Current User filter, nothing shows!



I can only assume that using a formula to fill a contact list isn't compatible with the Current User value?

I have tried using First Last name, and I've also tried the format straight from a Contact cell with no luck--that would be the full:

First Last

<email>

And that did not work either.


Thoughts? Is this simply not an option? I'd love to be proved wrong!


Thanks fellow Smartsheet-ers!

Best Answer

  • Employee
    Answer ✓

    Hi @nerdesigner

    If your Owner column is a Contact List type of column and those emails are contacts, it should work. That said, sometimes when formulas are calculating (like when the sheet is refreshed) it might just bring in the email as text until the next Save when it can recognize that text as a Contact.

    Instead of typing out the two email addresses within the formula, I would suggest creating two Contact List type fields in your Sheet Summary window for your sheet.

    Then in your formula you can reference the actual Contact (versus a typed out email). This will ensure that the value returned is always a Contact type of value, which can then be used in a "Current User" filter.



    Your Sheet Summary fields can be found from the sheet icon on the right menu. When you click the "+ New Field" button, just make sure you add a Contact List type of field.

    To reference a Sheet Summary field in a formula, it's the name that you gave the field (in my case, Developer and Designer), then with a # symbol:

    =IF(CONTAINS("Design", [Request Type]@row), Designer#, Developer#)


    I also used @row instead of the exact row number. Here are some Help Center articles you may want to review:


    Let me know if I can clarify anything further!

    Cheers,

    Genevieve

    Need more information? 👀 | Help and Learning Center

    こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao!👋 | Global Discussions

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!

Trending in Formulas and Functions