IF Statement with Color Symbols
I am having difficulty getting the following function to work.
=IF([End Date]@row > TODAY(), "Blue", IF([End Date]@row < TODAY(), "Red"), IF(Done@row = 1, "Green"))
The blue and the red function work perfectly, but when adding the green if statement comes back with "# Incorrect Argument Set". The odd thing is that if I only apply the green statement to the row, it works fine.
Best Answers
-
Hi @Matt Atkins ,
Try:
=IF(Done@row = 1, "Green", IF([End Date]@row > TODAY(), "Blue", "Red"))
When using nested IF statement the order matters. The function stops as soon as it finds a true statement.
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Perfect, I should have asked sooner!
Answers
-
Hi @Matt Atkins ,
Try:
=IF(Done@row = 1, "Green", IF([End Date]@row > TODAY(), "Blue", "Red"))
When using nested IF statement the order matters. The function stops as soon as it finds a true statement.
Work?
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
-
Mark is on it! Let us know if that solves it.
-
Perfect, I should have asked sooner!
-
Hi Matt, Glad you found a solution. Would you tag my response as accepted? Appreciate you contributing to the Community.
Mark
I'm grateful for your "Vote Up" or "Insightful". Thank you for contributing to the Community.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.9K Get Help
- 429 Global Discussions
- 147 Industry Talk
- 486 Announcements
- 5.2K Ideas & Feature Requests
- 86 Brandfolder
- 151 Just for fun
- 74 Community Job Board
- 498 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 305 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!