SUMIFS one of two names found

If Team One OR Team Two are found in the 'Team' column, add up the values found in 'Story Points' column.

This formula gives me an error:

=IFERROR(SUMIFS([Story Points]:[Story Points], OR(Team:Team = "Team One", Team:Team = "Team Two"), [RezW#]:[RezW#], [Week#]@row), "nope")


The formula below works fine for a single team name, so is the OR function wrong?

=IFERROR(SUMIFS([Story Points]:[Story Points], Team:Team, "Team One", [RezW#]:[RezW#], [Week#]@row), "nope")

Tags:

Best Answer

  • Mark Cronk
    Mark Cronk ✭✭✭✭✭✭
    Answer ✓

    Hi @fred sodergren ,

    Try:

    =IFERROR(SUMIFS([Story Points]:[Story Points], Team:Team, OR(@cell = "Team One",@cell= "Team Two"), [RezW#]:[RezW#], [Week#]@row), "nope")

    Mark


    I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!