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
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 445 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 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!