How to write an if child, then parent formula?
I am trying to have the parent row flagged if the child row is flagged( at risk). I do not have much experience with formulas and I am really at a loss of what to do. Is there any one that can help write this formula and then explain how to apply it?
Answers
-
Hi @Brent Eakins ,
In your parent rows, insert this formula into the flag column:
=IF(COUNTIF(CHILDREN(),1)>0,1,0)
This says that if there are more than 0 of the children rows flagged, flag; otherwise, no flag.
Let me know if it works!
Best,
Heather
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.3K Get Help
- 446 Global Discussions
- 144 Industry Talk
- 477 Announcements
- 5K Ideas & Feature Requests
- 85 Brandfolder
- 151 Just for fun
- 72 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 302 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!