% Time Elapsed Formula - Help breaking down and understanding long nested formula
Answers
-
oops, I pasted the test version with VAR1 VAR2 above, don't use that one, ;-), here's the correct version:
=IFERROR(IF(AND(OR([% Time Elapsed]@row = 0, [% Time Elapsed]@row = ""), OR([% Complete]@row = 0, [% Complete]@row = "")), "Gray", IF(AND(OR([% Time Elapsed]@row = 0, [% Time Elapsed]@row = ""), [% Complete]@row > 0), "Green", IF([% Time Elapsed]@row - [% Complete]@row < 0.1, "Green", IF([% Complete]@row = 1, "", IF(AND(ISDATE([End Date]@row), [End Date]@row < TODAY(), [% Complete]@row < 1), "Red", IF(AND(ISDATE([Start Date]@row), [Start Date]@row <= TODAY(), [% Complete]@row < 0.01), "Red", IF(AND([% Time Elapsed]@row <> "", [% Complete]@row <> "", ([% Time Elapsed]@row - [% Complete]@row >= 0.1)), "Yellow", IF([% Complete]@row = 0, "Gray", "Green")))))))), "Formula Error")
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 67 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!