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
- 64.8K Get Help
- 434 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!