Counting blank rows in the denominator as nested formula
Hello,
I have the following formula which is working well:
=IFERROR((((COUNTIF(Status:Status, "Green")) + (COUNTIF(Status:Status, "Yellow"))) / ((COUNTIF(Status:Status, "Red")) + (COUNTIF(Status:Status, "Green") + (COUNTIF(Status:Status, "Yellow"))))), "")
I need to also COUNTIF the rows are blank under the 'Status' column as part of the denominator (highlighted bold) in the denominator. The blanks must however be counted if another column, "Name" is populated.
Thanks in advance.
Vinton
Answers
-
Hello @Vinton Douglas,
Would adding =COUNTIFS([Status]:[Status], ISBLANK(@cell), [Name]:[Name], ISBLANK(@cell) = false) in to your current formula give you what you are looking for?
I have added it into a demo below as an example.
=IFERROR((((COUNTIF(Status:Status, "Green")) + (COUNTIF(Status:Status, "Yellow"))) / ((COUNTIF(Status:Status, "Red")) + (COUNTIF(Status:Status, "Green") + (COUNTIF(Status:Status, "Yellow")) + COUNTIFS(Status:Status, ISBLANK(@cell), Name:Name, ISBLANK(@cell) = false)))), "")
I hope that is helpful to you in someway,
Protonsponge
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.1K Get Help
- 349 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 133 Brandfolder
- 127 Just for fun
- 127 Community Job Board
- 455 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 282 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!