Formula or condition to eliminate the number "0"

Options

Hi i am trying to build a formula in Smartsheet that make count from a cell and including other items from other. The question is how to eliminate the number zero if the count is zero?

My formula it is working perfectly fine with the count but I cannot eliminate the zero.

=COUNTIFS({Client Sector}, "Commercial", {Buckets2}, [Client Sector]@row, {Status}, OR(@cell = "Submitted", @cell = "In Review", @cell = "Approved-In Progress", @cell = "Closed", @cell = "Approved-Not Started", @cell = "Implementation Started"))

I know that I have to add an IF to the beginning, but I am mentally blocked now!



Tags:

Best Answer

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

    Hi @Raul Cabrera

    I hope you're well and safe!

    Try something like this.

    =IF(COUNTIFS({Client Sector}, "Commercial", {Buckets2}, [Client Sector]@row, {Status}, OR(@cell = "Submitted", @cell = "In Review", @cell = "Approved-In Progress", @cell = "Closed", @cell = "Approved-Not Started", @cell = "Implementation Started")) = 0, "", COUNTIFS({Client Sector}, "Commercial", {Buckets2}, [Client Sector]@row, {Status}, OR(@cell = "Submitted", @cell = "In Review", @cell = "Approved-In Progress", @cell = "Closed", @cell = "Approved-Not Started", @cell = "Implementation Started")))

    Did that work/help?

    I hope that helps!

    Be safe, and have a fantastic weekend!

    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!