What if/then formula can I use for status color?
Hello,
I need an if/then formula to automatically change the Status symbol to green if the date in the Batch Received column is within 7 days. And automatically change the Status symbol to red if the date is past 7 days.
See example below:
Thanks in advance!
Answers
-
In the Status1 column you can try this formula:
=IF(([Batch Received]1 - TODAY()) - 7 > 0, "Green", "Red")
In your question, it is not clear if the "Batch Received" is a due date, i.e., are you counting as you are coming up to this data or past this date. So, formula may have to adjusted accordingly. Further, the formula is looking for within 7 days on either side of "batch received" date.
-
Thank you, =IF(([Batch Received]1 - TODAY()) + 7 > 0, "Green", "Red") worked.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 379 Global Discussions
- 212 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 304 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!