How do I average children?
Please help! I am trying to come up with a formula to put in the parent row to get the average % completionof the children row. My children row % percentage completion are filled in using this formula:
=(IF(Pulled@row, 0.5, 0) + (IF([Source Termed (FROM)]@row, 0.2, 0) + (IF([Device Termed (TO)]@row, 0.2, 0) + (IF([Source QA/QC]@row, 0.05, 0) + (IF([Device QA/QC]@row, 0.05, 0)))))) * 100 + "%"
Best Answer
-
My apologies. Coffee hasn't kicked in yet.
Insert a helper column and use
=VALUE(SUBSTITUTE([% Column]@row, "%", ""))
Then in the % column parent row, enter
=AVG(CHILDREN([Helper Column]@row)) + "%"
Answers
-
Try
=AVG(CHILDREN())
-
I get the error #divide by zero.
-
My apologies. Coffee hasn't kicked in yet.
Insert a helper column and use
=VALUE(SUBSTITUTE([% Column]@row, "%", ""))
Then in the % column parent row, enter
=AVG(CHILDREN([Helper Column]@row)) + "%"
-
It's okay. I've had coffee and it didn't help me come up with a solution. I didn't know about substitute. I was trying a few different ways of getting the value, but none were working.
I'm working on a sheet with a lot of formulas and will probably be back later:)
As always, thank you for your help!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.2K Get Help
- 360 Global Discussions
- 199 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!