IFS and IF AND
I wonder if someone could help me?
I'm getting an 'INVALID' error for this formula: =IF(AND([% Complete]1 < 1, [End Date]1 < TODAY()), "Red", =IF(AND([% Complete]1 < 1, [End Date]1 < TODAY(5)), "Yellow", "Green"))
If I use the 1st part: =IF(AND([% Complete]1 < 1, [End Date]1 < TODAY()), "Red","Green") it works, but I want to add another part in that if the task is not 100% complete and is due to be completed in the next 5 days it is "Yellow", but it's throwing up an error.
Any suggestions would be gratefully recieved.
Michelle
Best Answer
-
Hi @MKRS
I hope you're well and safe!
Try something like this.
=IF(AND([% Complete]1 < 1, [End Date]1 < TODAY()), "Red", IF(AND([% Complete]1 < 1, [End Date]1 < TODAY(5)), "Yellow", "Green")
Did that work/help?
I hope that helps!
Be safe, and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Answers
-
Hi @MKRS
I hope you're well and safe!
Try something like this.
=IF(AND([% Complete]1 < 1, [End Date]1 < TODAY()), "Red", IF(AND([% Complete]1 < 1, [End Date]1 < TODAY(5)), "Yellow", "Green")
Did that work/help?
I hope that helps!
Be safe, and have a fantastic week!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Fantastic! Your'e a star...Many thany thanks Andree!😀
-
Hi @MKRS,
The formula is very close: you are getting the error because of the 2nd equals sign. If you take this out it should work:
=IF(AND([% Complete]1 < 1, [End Date]1 < TODAY()), "Red", IF(AND([% Complete]1 < 1, [End Date]1 < TODAY(5)), "Yellow", "Green"))
Hope this helps - any questions with it just ask.
-
Excellent! Thanks for the kind words!
Happy to help!
The issue was that you had an additional equal sign, =.
SMARTSHEET EXPERT CONSULTANT & PARTNER
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E:andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!