Trying to combine if and statements in formula and keep getting incorrect syntax
Trying to return three different results for the above statements.
This is the formula I have been using:
=IF(AND(Status@row = "Open", [Targeted Completion Date]@row < TODAY(), "Red", =IF(AND(Status@row = "Open", [Targeted Completion Date]@row <= TODAY(+3)), "Yellow", "Green")))
What am I doing wrong?
Answers
-
=IF(AND(Status@row, "Open", [Target Completion Date]@row, <TODAY()), "Red", IF(AND(Status@row, "Open", [Target Completion Date]@row, <=TODAY(3)), "Yellow", "Green"
What you were doing wrong was not separating your range with criteria in your AND statements. You also do not start a nested IF with another equals sign.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Want to practice working with formulas directly in Smartsheet?
Check out the Formula Handbook template!
Check out the Formula Handbook template!