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
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 141 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!