Calculating % of Yeses in child rows from Yes/No Column
I am looking to get a percent of "yes" in a column named "Yes/No" in the parent row. Example, I have a parent row with 5 child rows - 4 of the child rows have "yes" one has "No" I am looking to show the % of "Yes" in this case the result should be 80% with Yes.
Thanks
Best Answer
-
@MarkCep Try this
=COUNTIF(CHILDREN([yes/no]@row), "Yes") / COUNT(CHILDREN([yes/no]@row))
Might need to wrap iferror around it
=IFERROR(COUNTIF(CHILDREN([yes/no]@row), "Yes") / COUNT(CHILDREN([yes/no]@row)), "")
Answers
-
@MarkCep Try this
=COUNTIF(CHILDREN([yes/no]@row), "Yes") / COUNT(CHILDREN([yes/no]@row))
Might need to wrap iferror around it
=IFERROR(COUNTIF(CHILDREN([yes/no]@row), "Yes") / COUNT(CHILDREN([yes/no]@row)), "")
-
Fantastic, this worked perfectly.
Thank you so much
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!