AND/IF formulas
I'm trying to identify the syntax error in my formula. Can someone help me?
=IF(Statut@row= "Terminé", "Vert), IF(AND(Statut@row = "En Cours"; IF(Échéance@row<=TODAY(); "Rouge", "Jaune")))
Best Answer
-
The closing parenthesis after "Vert" also needs to be removed.
=IF(Statut@row= "Terminé"; "Vert"; IF(AND(Statut@row="En Cours"; Échéance@row<=TODAY()); "Rouge"; "Jaune"))
Answers
-
Try this:
=IF(Statut@row= "Terminé", "Vert"), IF(AND(Statut@row="En Cours"; Échéance@row<=TODAY()); "Rouge", "Jaune"))
I think these are the issues
- missing end quote after Vert
- do not need "IF" inside AND statement
- missing end parenthesis after TODAY() to finish AND statement
- too many parenthesis at end
I'm unsure about the use of semi-colons in this formula. That may be required for your language, but if you continue to get errors, try replacing them with commas.
-
Thank you so much! It really helps. I was overcomplicating things.
-
The closing parenthesis after "Vert" also needs to be removed.
=IF(Statut@row= "Terminé"; "Vert"; IF(AND(Statut@row="En Cours"; Échéance@row<=TODAY()); "Rouge"; "Jaune"))
-
Thank you so much for your help!
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.7K Get Help
- 406 Global Discussions
- 218 Industry Talk
- 457 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 57 Community Job Board
- 459 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 297 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!