Formula involving multiple IF/AND statements
I need to modify the following formula to include additional AND conditions.
=IF(Finished12 = 1, "Blue", IF(Target12 >= TODAY(+14), "Green", IF(AND(Target12 >= TODAY(+7), Target12 < TODAY(+14, "Yellow", IF(AND(Target12 < TODAY(+7),%COMPLETE>70, "Red"))))
The additional condition would be in the third if and would be Percent Complete is less than .5.
Any ideas?
Comments
-
Try this. But I don't know what color it will be if your percentage complete is over .5... it might not be any color.
***Edited to revise formula****
=IF(Finished12 = 1, "Blue", IF(Target12 >= TODAY(+14), "Green", IF(AND(Target12 >= TODAY(+7), Target12 < TODAY(+14), [% Complete]12 <.5), "Yellow", IF(AND(Target12 < TODAY(+7),%COMPLETE>.7, "Red"))))
-
May want to change your Red criteria to "> .7" instead of "> 70".
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
-
Good catch Paul! the >70 by the %complete part. Here it is revised.
=IF(Finished12 = 1, "Blue", IF(Target12 >= TODAY(+14), "Green", IF(AND(Target12 >= TODAY(+7), Target12 < TODAY(+14), [% Complete]12 <.5), "Yellow", IF(AND(Target12 < TODAY(+7),%COMPLETE >.7), "Red"))))
-
Come see me in Seattle at ENGAGE 2024! I will be at the 10xViz partner booth throughout as well as the "Lets Talk About Community" Meet & Eat table on Tuesday from 11:45am - 12:45pm!
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives