Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
Comparing dates and returning a RYG ball
Comments
-
Deborah,
1. Column name references require the square brackets [] around them if the name contains special characters, spaces, or ends in a number.
2. If the actual column name does not contain quotation marks, you should not use them.
"DUE" is a valid column name if the name really has quotes around them.
If the name is just Due, then no quotes are needed to reference it.
Side note: Column names are case-insensitive, so DUE and Due will be changed in your formula after you type it to the correct case to match the real column name.
3. Cell references are ColumnRow like this: Due2 or [Due Date]2 but not [Due2]
I think this may be what you are looking for:
=IF(TODAY() - Due2 > 0, "Red", IF(TODAY() - Due2 > -3, "Yellow", "Green"))
Hope this helps.
Craig -
Craig--
Thank you. It works like a charm.
Deborah
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives