How to write an 'if' formula so a tickbox is selected if there are any children tasks?
I really am struggling with formulae (user issue, not Smartsheet). What formula do I write if I want a tick box selected to indicate if something is a parent task?
(The reason I want to do this is for some conditional formatting).
Best Answer
-
Have you tried using a helper column with
=COUNT(ANCESTORS()
) as a column formula. It will return 0 if a row is a top level parent, 1 if it's a child, 2 if it's a child of a child and so on. I frequently use this trick for easy conditional formatting.
Answers
-
Have you tried using a helper column with
=COUNT(ANCESTORS()
) as a column formula. It will return 0 if a row is a top level parent, 1 if it's a child, 2 if it's a child of a child and so on. I frequently use this trick for easy conditional formatting.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!