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
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!