Welcome to the Smartsheet Forum Archives


The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.

Incorrect Counting of Empty Rows

elliot_gold
edited 12/09/19 in Archived 2017 Posts

I am trying to count blank dropdown values in a sheet by referencing the column and it is giving me incorrect numbers.

=COUNTIF([Sign Off]:[Sign Off], 0)

It seems to be including the 10 empty rows at the bottom of the sheet too.

Does anyone know how to get around this?

Comments

  • Robert S.
    Robert S. Employee

    Hello,

     

    Thanks for the question. Since the blank rows at the bottom of the sheet are technically blank for that column, counting blank cells in that column will add them to the count. As a way to get around this, you could change your formula to the COUNTIFS function, and use another column that should always have information in it for the rows you'd like to count.

     

    For example, if the Primary Column has information in it for every row except the blank ones at the bottom, something like this could work:

     

    =COUNTIFS([Sign Off]:[Sign Off], ="", [Primary Column]:[Primary Column], <>"")

     

    The ="" means equals blank, and the <>"" means doesn't equal blank. So this formula will count rows that the "Sign Off" column is blank, but only if the "Primary Column" isn't blank. 

  • elliot_gold
    edited 12/20/17

    Thanks so much. That works!

This discussion has been closed.