Multiple If/And Statements
I am trying to work through multiple if/and statements to use red/yellow/green/gray indicators without much luck. Essentially, I would like the formula to produce the following:
If % Complete = 1, Green
If % Complete < 1, and finish date is within 7 days, Red
If % Complete < 1, and finish date is within 14 days, Yellow
If % Complete < 1, and finish date is over 15 days, Gray
Any help would be appreciated!
Thank you
Comments
-
No luck, thanks for the suggestion!
-
=IF([% Complete]@row = 1, "Green", IF([Finish Date]@row - TODAY() <= 7, "Red", IF([Finish Date]@row - TODAY() <= 14, "Yellow", "Gray")))
You don't need an "AND" as you have already tested for 100% completion.
In other words your logical expression tests "completion = 1" so as a result, everything else is not complete.. you don't need to retest for that...IF(logical_expression, value_if_true, value_if_false)
So you really just need to check the date to determine "how not done it is"...
And since everything 15 or over is gray that is another logic case you do not have to test for... It is the last false case
Hopefully, that makes sense
-
This is my nested if maker
-
Thank you so much!
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 494 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives