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
Check out the Formula Handbook template!