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
- Smartsheet Customer Resources
- 62.2K Get Help
- 358 Global Discussions
- 198 Industry Talk
- 427 Announcements
- 4.4K Ideas & Feature Requests
- 135 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 444 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!