Nested IF Statements
Hello! SS newbie here. I'm having a hard time with my nested if statements. This is what I am trying to accomplish:
If number of items in Past Due Count column is =0, Traffic light is Green, 1=Yellow, 2+=Red, and if Status column (Blue Header row) ="Complete", traffic light is blue.
I have this so far:
=IF([Past Due Count]1 = 1, "Yellow", IF(AND([Past Due Count]1 >=2, "Red")), IF(AND[Past Due Count]1 = 0, "Green")), IF(AND([Status]1 = "Complete", "Blue"))
Answers
-
The IF(AND)function is used when you have two simultaneous conditions that must be met before a statement is true. Your conditions are single statements- for instance it doesn't take Status to be Complete AND [Past Due Count] to be less than .
=IF(Status@row = "Complete", "Blue", IF([Past Due Count]@row = 1, "Yellow", IF([Past Due Count]@row = 0, "Green", "Red")))
cheers,
Kelly
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 202 Use Cases
- 515 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 82 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!