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
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!