I need formula to count everything but Blank cell?

The Black cells are blank cells. I need a couple of formulas

1-that will if me a total of non-blank cells.

2- be able to compare "MS" cells to the "SS..." cells.

Im looking to create a dashboard I can use to display


Tags:

Answers

  • Darren Mullen
    Darren Mullen ✭✭✭✭✭✭

    @Bobby1

    Bobby,

    Whenever you use a Smartsheet count formula such as count(), countif(), countifs(), it will only count non-blank cells in the range you specify.

    As far as your MS vs SS cells.. if you want to count them, you could use "contains" to check if the cell contains SS or MS. That's the simple way, but it would look for any occurrence of "SS" or "MS" in a given cell, even if it wasn't at the beginning. If you need to check that the first couple characters are SS or MS you can use the Smartsheet formula "Left" to extract the first couple characters and check if they are SS or MS.

  • Bobby1
    Bobby1 ✭✭✭✭

    Thank you what is an example of a contains formula?

  • Andrée Starå
    Andrée Starå ✭✭✭✭✭✭

    Hi @Bobby1

    I hope you're well and safe!

    To add to Darren's excellent advice/answer.

    Try something like this.

    =COUNTIFS([2020]:[2022], CONTAINS("MS", @cell)) (change to "SS" for counting SS)

    =COUNTIFS([2020]:[2022], NOT(CONTAINS("", @cell))) (for non blank cells)

    Did that work/help?

    I hope that helps!

    Be safe, and have a fantastic week!

    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.

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!