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
- Customer Resources
- 67.1K Get Help
- 449 Global Discussions
- 155 Industry Talk
- 505 Announcements
- 5.4K Ideas & Feature Requests
- 85 Brandfolder
- 156 Just for fun
- 80 Community Job Board
- 514 Show & Tell
- 34 Member Spotlight
- 2 SmartStories
- 308 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!