Formula not working Parent Row
Hi All,
The formula we have implemented on our programs to automate the colour dots does not work on the Parent row due the summary of the days being calculated from the first start to the last finish - thus the duration is technically "incorrect". I understand however that is just how smartsheet has set up the program to run in terms the of Parent rows. However, if anyone has any work arounds or possible suggestions to have the formula work correctly on the parent row too, please let me know.
See a screenshot of an example as well as the formula below:
=IF(START@row = "", "", IF(AND(START@row > TODAY(), [%]@row = 0), "", IF((AND(TODAY() > FINISH@row, IF(TODAY() = START@row, 0, IF(TODAY() > FINISH@row, 1, IF(AND(TODAY() > START@row, TODAY() <= FINISH@row), (NETWORKDAYS(START@row, TODAY() - 1) / t@row), 0))) > [%]@row)), "Red", IF(OR(AND(TODAY() >= FINISH@row, [%]@row = 1), (IF(TODAY() = START@row, 0, IF(TODAY() > FINISH@row, 1, IF(AND(TODAY() > START@row, TODAY() <= FINISH@row), (NETWORKDAYS(START@row, TODAY() - 1) / t@row), 0))) = 1)), "Green", IF(IF(TODAY() = START@row, 0, IF(TODAY() > FINISH@row, 1, IF(AND(TODAY() > START@row, TODAY() <= FINISH@row), (NETWORKDAYS(START@row, TODAY() - 1) / t@row), 0))) <= [%]@row, "Blue", IF((IF(TODAY() = START@row, 0, IF(TODAY() > FINISH@row, 1, IF(AND(TODAY() > START@row, TODAY() <= FINISH@row), (NETWORKDAYS(START@row, TODAY() - 1) / t@row), 0)))) - [%]@row <= 0.2, "Yellow", "Red"))))))
Logic:
- Red: if past due OR variance greater than 20%
- Yellow: if variance between 0-20%
- Blue: if on track (also if > 0% but only starting at future date - for the error report/conditional format)
- Green: activity is in the past+100% OR activity today and marked at 100%
Kind regards,
Luke
Answers
-
Hi @Luke York
How would you like the Parent's Status ball to update?
If you want the Parent row to just be blank, you can add that in to the first criteria, like so:
=IF(OR(START@row = "", COUNT(CHILDREN()) > 0), ""
Or you could have it say something like "Parent" instead of showing a status:
=IF(COUNT(CHILDREN()) > 0, "Parent"
If this isn't what you want, could you identify the Logic specific for the Parent row?
Thanks!
Genevieve
Join us at Smartsheet ENGAGE 2024 🎉
October 8 - 10, Seattle, WA | Register now
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.7K Get Help
- 371 Global Discussions
- 205 Industry Talk
- 436 Announcements
- 4.5K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 129 Community Job Board
- 448 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 282 Events
- 32 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!