Count rows where ANY of the criteria are met.
I need to count all the rows in my sheet where any one of the three required columns are blank. I want a Sheet Summary formula that stores the result.
Psuedo-code: CountIf Status is blank OR if Owner is blank OR if Department is blank
For reasons I do not want to get into here 😁, I do NOT want to use a helper column for this task.
The only thing I can think to do is count rows where Status is blank PLUS rows where Owner is blank PLUS rows where Department is blank MINUS rows where Status/Owner/Department are blank times 2 MINUS rows where only Status/Owner are blank MINUS rows where only Status/Department are blank MINUS rows where only Owner/Department are blank.
Is there a better way I'm just not thinking of?
Answers
-
The countifs are probably going to be the easiest way. I tried to make a workaround using some text parsing, but it fails one of the 7 possibilities (you can choose which one it fails, but one has to not work)
=LEN(JOIN(Owner1:COUNT8, ",")) - LEN(SUBSTITUTE(SUBSTITUTE(JOIN(Owner1:COUNT8, ","), ",,false", ".,fals"), ",,", ","))
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64K Get Help
- 412 Global Discussions
- 220 Industry Talk
- 459 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 138 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!