Can you help me finding my syntax error?
=IF(AND(Statut@row <> "Terminé", ([Date prévue de l'événement@row] <= TODAY(-5), "Rouge")); IF(Statut@row = "Terminé" ,"Vert", "Jaune"))
What I want is: If Statut@row is not "Terminé" and the [Date prévue de l'événement@row] is equal or less than 5 days before the event, then "Rouge", If Statut@row is "Terminé", then "Vert", if not then "Jaune"
Thank you in advance for your help,
Melanie
Best Answer
-
Try this:
=IF(AND(Statut@row <> "Terminé", [Date prévue de l'événement@row] <= TODAY(-5)), "Rouge"; IF(Statut@row = "Terminé" ,"Vert", "Jaune"))
You will need to figure out whether you should be using commas or semicolons in formulas (based on region) and use them consistently.
Answers
-
Try this:
=IF(AND(Statut@row <> "Terminé", [Date prévue de l'événement@row] <= TODAY(-5)), "Rouge"; IF(Statut@row = "Terminé" ,"Vert", "Jaune"))
You will need to figure out whether you should be using commas or semicolons in formulas (based on region) and use them consistently.
-
Thank you so much for your help. I will try that.
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.6K Get Help
- 403 Global Discussions
- 214 Industry Talk
- 454 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 136 Just for fun
- 56 Community Job Board
- 456 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!