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!
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.8K Get Help
- 474 Global Discussions
- 206 Use Cases
- 517 Announcements
- 5.5K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 83 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!