COUNTIF Function
This seems so easy but mine won't work no matter what I try. I am trying to obtain a percentage of "yes" answers for the CHILDREN.
I want the calculation in my PARENT Row but to only calculate the CHILDREN.
All my attempts show up as this. What am I doing wrong??
Best Answer
-
If you are also wanting to include blanks in the overall calculation...
=COUNTIFS(CHILDREN(), "Yes") / COUNTIFS(CHILDREN(), OR(@cell = "Yes", @cell <> "Yes"))
If you are only including Yes and No in the overall calculation and excluding blanks, then this should work:
=COUNTIFS(CHILDREN(), "Yes") / COUNTIFS(CHILDREN(), OR(@cell = "Yes", @cell = "No"))
Answers
-
If you are also wanting to include blanks in the overall calculation...
=COUNTIFS(CHILDREN(), "Yes") / COUNTIFS(CHILDREN(), OR(@cell = "Yes", @cell <> "Yes"))
If you are only including Yes and No in the overall calculation and excluding blanks, then this should work:
=COUNTIFS(CHILDREN(), "Yes") / COUNTIFS(CHILDREN(), OR(@cell = "Yes", @cell = "No"))
-
You are so smart! Thank you Thank You Thank You!! I appreciate you Paul Newcome!
-
Hahaha. Happy to help! 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 429 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!