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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!