# 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 + "%"

Tags:

• ✭✭✭✭✭✭

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)) + "%"

• ✭✭✭✭✭✭

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

Want to practice working with formulas directly in Smartsheet?

Check out the Formula Handbook template!