Sheet Summary Formula - sum all children with status of "Not Applicable"
I want to create a sheet summary formula that will sum all children in the Status column with the status of "Not Applicable". This will be used in my Smartsheet Dashboard.
Thank you in advance.
Best Answer
-
In that case, I would a helper column and formula along the lines of the one suggested by @Dan Palenchar above:
Answers
-
Are you looking for a count of the rows where the status is not applicable - i.e. There are 24 rows where that status is N.A. Or, to sum data from a different column?
If the first if would be =COUNTIF(Status:Status, "Not Applicable") in the sheet summary.
If the second, If would be =SUMIF(Status:Status, "Not Applicable", [Desired Sum Column]:[Desired Sum Column])
Smartsheet Community Champion and Ambassador
If my answer helped you, please be sure to mark it as Accepted to help future learners locate the information.
-
I need to count the NA in the status column, but I do not want any parent rows to be counted.
-
Hello @Tina1234,
To count only the child rows I'd suggest starting by adding a column in your Sheet called Children and input the formula
=COUNT(CHILDREN())
You can use this in a COUNTIFS() function with the general format of:
=COUNTIFS(Children:Children, 0, Status:Status, "Status option you are searching for goes here")
The published Sheet below shows this in action, you can interact with it (full screen link here).
School of Sheets (Smartsheet Partner)
If my answer helped please accept and react w/💡Insightful, ⬆️ Vote Up, ❤️Awesome!
-
If you only have child rows (i.e. one level of indentation) this should work:
=COUNTIFS(CHILDREN(Status:Status), "NA")
If you have multiple, then it becomes a question of how far up down the chain you want to be included (levels of indentation).
-
@Dan Palenchar I typed =COUNTIFS(Children:Children, 0, Status:Status, "Not Applicable") and it #UNPARESABLE
@Nick Korna I want the lowest level of children
-
In that case, I would a helper column and formula along the lines of the one suggested by @Dan Palenchar above:
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!