Parent Sum IF
I've tried a variety of calculations, and can't seem to get the results I'm seeking. I'm simply trying to add up all of the parent rows in a column called Resource Days that are Assigned To a specific team member. Any suggestions?
=SUMIFS(PARENT(Resource Days:Resource Days), [Assigned To]:[Assigned To], "Team Member")
Comments
-
You don't use PARENT in this case.
Column names with spaces (or special characters) need square brackets []
=SUMIFS([Resource Days]:[Resource Days], [Assigned To]:[Assigned To], "Craig Williams")
However ...
Unfortunately, I don't think you can do it in a single formula, so:
1. add Checkbox column (I named mine [Is Parent])
2. In that column (row 1 and then copied to the rest of the column)
=COUNT(CHILDREN([Assigned To]1)) > 0
or
=IF(COUNT(CHILDREN([Assigned To]1)) > 0,1,0)
if that makes you feel better.
3. Your formula then becomes
=SUMIFS([Resource Days]:[Resource Days], [Assigned To]:[Assigned To], "Craig Williams", [Is Parent]:[Is Parent], 1)
I hope that helps.
Craig
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!