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
- 62.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!