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
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!