Can you help me figure out what is causing the Invalid Operation Error for this formula?
=IF(AND(Finish@row < TODAY() >= Finish@row, [% Complete]@row < 1), "Red", IF(AND(Finish@row < TODAY(-3), [% Complete]@row < 0.99), "Yellow", "Green"))
Best Answer
-
It is going to be in the first AND statement. You need to break the date portion down into two separate arguments.
=IF(AND(Finish@row < TODAY() >= Finish@row, [% Complete]@row < 1), "Red", IF(AND(Finish@row < TODAY(-3), [% Complete]@row < 0.99), "Yellow", "Green"))
The way you currently have it written though, your two separate arguments would be that Finish is "less than" today and Finish is "less than or equal to" today which you may as well just say the second.
Answers
-
It is going to be in the first AND statement. You need to break the date portion down into two separate arguments.
=IF(AND(Finish@row < TODAY() >= Finish@row, [% Complete]@row < 1), "Red", IF(AND(Finish@row < TODAY(-3), [% Complete]@row < 0.99), "Yellow", "Green"))
The way you currently have it written though, your two separate arguments would be that Finish is "less than" today and Finish is "less than or equal to" today which you may as well just say the second.
-
Thanks Paul. I
-
Happy to help. 👍️
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.4K Get Help
- 364 Global Discussions
- 200 Industry Talk
- 430 Announcements
- 4.4K Ideas & Feature Requests
- 137 Brandfolder
- 129 Just for fun
- 128 Community Job Board
- 446 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 284 Events
- 35 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!