Counting yes and yes w/notes
Hello,
I am having trouble counting using the COUNTIFS formula to yes's and another category called "Yes w/notes". Here is the current formula that I have:
• =COUNTIFS([Are all workers wearing the proper PPE?]@row:[Is there a permit required?]@row, @cell = "Yes") / COUNTIFS([Are all workers wearing the proper PPE?]@row:[Is there a permit required?]@row, AND(@cell <> "n/a"))
It means mentions "N/A" because I did not want that increasing or decreasing the percentage.
The only categories that should be affecting it are "YES" and "YES W/NOTES" to increase the percentage, but also count "NO" and "NO W/NOTES" to decrease the percentage. But someone selects "YES W/NOTES" it decreases the percentage when it should increasing it.
If someone can get back to me as soon as possible, that would be great.
Thank you
Best Answer
-
Try this:
=COUNTIFS([Are all workers wearing the proper PPE?]@row:[Is there a permit required?]@row, OR(@cell = "Yes", @cell = "Yes w/Notes")) / COUNTIFS([Are all workers wearing the proper PPE?]@row:[Is there a permit required?]@row, @cell <> "n/a")
Answers
-
Try this:
=COUNTIFS([Are all workers wearing the proper PPE?]@row:[Is there a permit required?]@row, OR(@cell = "Yes", @cell = "Yes w/Notes")) / COUNTIFS([Are all workers wearing the proper PPE?]@row:[Is there a permit required?]@row, @cell <> "n/a")
-
Thank you Paul, that helped a lot!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.6K Get Help
- 433 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.9K Ideas & Feature Requests
- 143 Brandfolder
- 147 Just for fun
- 63 Community Job Board
- 466 Show & Tell
- 32 Member Spotlight
- 2 SmartStories
- 298 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!