Summary of Children
Hello,
I want to sum up budgets for 2025 - but only for children rows (as I use the sum(children()) function in the parent rows - parents rows cannot be assigned to a specific year).
The following function does not work:
=SUMIFS([Budget]:[Budget]; (date:date); IFERROR(YEAR(@cell ); 0) = 2025);
(Task:Task);COUNT(CHILDREN(Task@row)) = 0)
Any hints?
As a workaround, I could define a helper column.
Kind regards,
Dirk
Answers
-
Hi @Dirk -
As a start, it looks like you have some semicolons in your formula instead of commas. (Wasn't sure if that was just a typo here in the post — but semicolons won't work in the actual formula. They'd need to be commas. :) )
One idea that may help to simplify your formula would be to use a "Level" helper column (or, call it whatever you like!), where you count the ancestors. E.g., =COUNT(ANCESTORS()). Then, you could use that as the criteria to identify the child rows (i.e., a value >0 in that column).
-
Hi Jennifer, thanks for your reply! The semicolons are not a problem. Seems that they are automatically replaced by commas in SmartSheets.
With the use of a helper column I could already resolve this issue. Still, I was looking for a more elegant way to directly calculatet this in my sheet summary.
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!