Reference a sheet and count the number of a specific health icon based on status.

Hello,
I am referencing a project schedule in a sheet where I am counting the total number of rows that have a specific health icon color. Green, Yellow, and Red were all straightforward to get totals for. My formula for those is: =COUNTIF({Project Schedule - Health Column}, [Health Icon]4) for each different health icon.
I also have a gray health icon in the mix, and I would only like to count those gray health icons that do not have a status of "N/A". For reference see a screenshot of the different options I have in the dropdown list for "Status".
I think that I would need to use the =COUNTIFS formula, but I am struggling to bring in the criteria for not counting tasks with a gray health and a status of "N/A". Any help on this would be greatly appreciated! Thanks!
Best Answer
-
You would use something like this:
=COUNTIFS({Health}, @cell = "Gray", {Status}, @cell <> "N/A")
Answers
-
You would use something like this:
=COUNTIFS({Health}, @cell = "Gray", {Status}, @cell <> "N/A")
-
Thanks Paul, this worked for me! I appreciate the help.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!