Count non-blank cells in a row

Dana G
Dana G ✭✭
edited 10/03/21 in Formulas and Functions

Hello,

My smartsheet tracks document reviews and approval. I'm trying to create a formula that returns the number of review rounds per document, by counting "resubmission due" cells if they are not blank. I tried this formula for the first two rounds as a test, but the result is only "1" despite two cells being populated: =COUNTIFS([Resubmission 01 Due]@row, <>"", [Resubmission 02 Due]@row, <>"")

Does anyone know what I'm doing wrong?

Thank you!


Best Answer

  • Kelly Moore
    Kelly Moore ✭✭✭✭✭✭
    edited 10/03/21 Answer ✓

    Hey @Dana G

    The formula is counting the instances that both Resubmission 01 and Resubmission 02 are not blank. One approach to remedy this is to have two COUNTIFS and add them together.

    =COUNTIFS([Resubmission 01 Due]@row, <>"")+ COUNTIFS([Resubmission 02 Due]@row, <>"")

    Will this work for you?

Answers

Help Article Resources

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!