Sum dollars based on names in multiple columns

I have a shared tips sheet. A big tip is divided by the coaches that are coaching for the group. If John is coach 1, Dave is coach 2, and

Skye is coach 3, then the $30 tip would be split $10 each. The next group may have Skye , Mike, and Nate and may have a $60 tip. Etc.

I am trying to write a formula that says of Skye is in any of the coaches columns, sum the split tip amount.

I have tried a few different formulas but have not been successful. I am hoping someone has the answer.

=SUMIFS([$ per Split]:[$ per Split], [Coach 1]:[Coach 5], CONTAINS("Skye "))

=IF(CONTAINS("Skye ", [Coach 1]:[Coach 5]), SUM([$ per Split]:[$ per Split]),)

=SUMIF([Coach 1]:[Coach 5], "Skye", [$ per Split]:[$ per Split])


Best Answer

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    Answer ✓

    Hi @Vincent Carranza

    I hope you're well and safe!

    To add to Mike's excellent advice/answer.

    The ranges must match, so one can't be one column and the other six.

    Try something like this. (Replace Skye for the other coaches)

    =SUMIFS([$ per Split]:[$ per Split], [Coach 1]:[Coach 1], "Skye") + SUMIFS([$ per Split]:[$ per Split], [Coach 2]:[Coach 2], "Skye") + SUMIFS([$ per Split]:[$ per Split], [Coach 3]:[Coach 3], "Skye") + SUMIFS([$ per Split]:[$ per Split], [Coach 4]:[Coach 4], "Skye") + SUMIFS([$ per Split]:[$ per Split], [Coach 5]:[Coach 5], "Skye") + SUMIFS([$ per Split]:[$ per Split], [Coach 6]:[Coach 6], "Skye")

    Would that work/help?

    I hope that helps!

    Have a fantastic weekend & Happy New Year!

    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.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!