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
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!