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
- Smartsheet Customer Resources
- 64.2K Get Help
- 419 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 142 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives