Formula Insertion via Conditional Formatting
Hi,
I've made several formulas for one of my sheets to identify task health based on several conditions, which all work fine. However, my problem is when I insert a new row I need to identify the health formula for that row based on the task indent level (parent/child/grandchild) which I don't know how to do. Has this been done before?
Thanks
Best Answer
-
You can identify with a helper column. One formula I use in my helper column is
=COUNT(ANCESTORS()) + 1
You can then set up your criteria based on the number in the helper column. 1 would be a parent row, 2 a child, 3 a grandchild.
Answers
-
You can identify with a helper column. One formula I use in my helper column is
=COUNT(ANCESTORS()) + 1
You can then set up your criteria based on the number in the helper column. 1 would be a parent row, 2 a child, 3 a grandchild.
-
That worked perfectly! Thank you @Hollie Green
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.9K Get Help
- 410 Global Discussions
- 220 Industry Talk
- 458 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 298 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!