Adding only children rows that have check box
Hi Everyone,
I'm developing a sheet to track mileage on person vehicles. I have a parent row that totals the number of miles per month, and the children rows show each individual trip. I have a check box at the right to show when a trip has received approval from a supervisor. My question is: how do I get the formula in the parent row to total only those children rows where the checkbox is checked? I have tried several different formulas, but I keep getting Unparseable. Any help would be appreciated!
Thank you!
Best Answer
-
You don't need a helper column for this. You could just use a SUMIFS.
=SUMIFS(CHILDREN(), CHILDREN([Checkbox Column]@row), 1)
Answers
-
Probably add in a helper column next to the check box of the children row and include a formula of =if([SupervisorApprovalCheckBox]=1,[Miles],0)
Then, in the Parent row, do a formula of =Sum(Children()) in that new helper column.
-
You don't need a helper column for this. You could just use a SUMIFS.
=SUMIFS(CHILDREN(), CHILDREN([Checkbox Column]@row), 1)
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
- 141 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!