=SUMIF Formula

I'm looking for some guidance with this formula. I can't seem to get the numbers to add up if the condition is met. Essentially if the cell is "No" a number should be added and the number is different based on the column. Those numbers should then be added for a total.

Here's what I'm working with...

=SUMIF([Column]1 = "No", 4, 0:IF([Column]2 = "No", 7, 0:([Column]3 = "No", 1, 0)))

So in theory with this formula, if all three cells were "No" I would have a total of 12.

Best Answers

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭
    edited 04/03/20 Answer ✓

    Hi Logan,

    Not sure I follow, but here goes!

    Do you want to sum the whole column or just the specific row or specific cells?

    Try something like this.

    =IF([Column 1]@row = "No"; 4) + IF([Column 2]@row = "No"; 7) + IF([Column 4]@row = "No"; 1)

    The same version but with the below changes for your and others convenience.

    =IF([Column 1]@row = "No", 4) + IF([Column 2]@row = "No", 7) + IF([Column 4]@row = "No", 1)
    

    Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.

    Would that work?

    I hope that helps!

    Be safe and have a fantastic weekend!

    Best,

    Andrée Starå

    Workflow Consultant / CEO @ WORK BOLD

    ✅Did my post help or answer your question or solve your problem? Please help the Community by marking it as the accepted answer/helpful. 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.

  • Logan Davison
    edited 04/03/20 Answer ✓

    Worked like a charm! Thanks!

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!