Automate Harvey Ball based on % of checked boxes
Hi Smarties,
Having a bit of a problem with this challenge.
I would like to automate the [Progress] Harvey Ball's based on the % of checked [Completed] boxes in the children rows.
If 0-24% of boxes are checked, the harvey ball should be empty.
If 25-49% of boxes are checked, the harvey ball should be one quarter full.
If 50-74% of boxes are checked, the harvey ball should be half full.
If 75-99% of boxes are checked, the harvey ball should be three quarters full.
If 100% of boxes are checked, the harvey ball should be full.
If [Completed] is checked in the parent row, the harvey ball should be full, regardless of the children values.
I have created the below formula, but the Harvey Ball is either showing Full (when 1 checkbox is selected) or Empty (when nothing is selected) only on the parent level :(. I know I am close but yet it feels far!
=IF(PARENT(Completed@row) = 1, "Full", IF(COUNTIF(CHILDREN(), 1) <= 0.24, "Empty", IF(COUNTIF(CHILDREN(), 1) <= 0.49, "Quarter", IF(COUNTIF(CHILDREN(), 1) <= 0.74, "Half", IF(COUNTIF(CHILDREN(), 1) <= 0.99, "Three Quarter", IF(COUNTIF(CHILDREN(), 1) = 1, "Full"))))))
Best Answer
-
Try something like this...
=IF(OR(Completed@row = 1, COUNTIFS(CHILDREN(Completed@row), 1) = COUNT(CHILDREN([Task Name]@row))), "Full", IF(COUNTIFS(CHILDREN(Completed@row), 1) / COUNT(CHILDREN([Task Name]@row))>= .75, "Three Quarters", IF(COUNTIFS(CHILDREN(Completed@row), 1) / COUNT(CHILDREN([Task Name]@row))>= .5, "Half", IF(COUNTIFS(CHILDREN(Completed@row), 1) / COUNT(CHILDREN([Task Name]@row))>= .25, "Quarter", "Empty"))))
Answers
-
Hi @Syed Muhafzal
Hope you are fine, Please add a copy of your sheet or a screenshot (after removing or replacing any sensitive information). This will make it easier for me to provide the appropriate answer to your question.
bassam.khalil2009@gmail.com
☑️ Are you satisfied with my answer to your question? Please help the Community by marking it as an ( Accepted Answer), and I will be grateful for your "Vote Up" or "Insightful"
-
Sure @Bassam Khalil here is the screenshot. The formula is written on the yellow cell.
-
Try something like this...
=IF(OR(Completed@row = 1, COUNTIFS(CHILDREN(Completed@row), 1) = COUNT(CHILDREN([Task Name]@row))), "Full", IF(COUNTIFS(CHILDREN(Completed@row), 1) / COUNT(CHILDREN([Task Name]@row))>= .75, "Three Quarters", IF(COUNTIFS(CHILDREN(Completed@row), 1) / COUNT(CHILDREN([Task Name]@row))>= .5, "Half", IF(COUNTIFS(CHILDREN(Completed@row), 1) / COUNT(CHILDREN([Task Name]@row))>= .25, "Quarter", "Empty"))))
-
-
Happy to help. 👍️
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives