Service Contract Status Formula
Hi there,
I'm trying to figure out a formula to return a Green/Yellow/Red Symbol based on a calculation of the date an item was purchased in comparison to the length of the service contract.
I am able to get the "Green Symbol" using this formula:
=IF([Service Contract Expiration]76 > TODAY(), "Green")
But, I'd like to have a "Yellow" dot when the service contract will expire between Today's date and 6 months from Today's date, then have the "Red" return anything service contract that's expired.
I'm stumped, please help! :)
Thank you,
Tyson
Best Answer
-
Try:
=IF(actual@row < TODAY(), "Red", IF(actual@row <= (TODAY() + 6 * 30), "Yellow", "Green"))
Note: going by months in SS can be tricky. You could use a Month function and add or subtract 6 but what's the goal? Is it to calculate 6 months of work days, calendar days, or just a general estimate? I typically use 180 days when I am looking at 6 month increments.
More on the MONTH function here:
Answers
-
I misspoke - I would like the "Yellow" be "Service Contract Expiration Date is within the next six months."
Thank you!
-
Try:
=IF(actual@row < TODAY(), "Red", IF(actual@row <= (TODAY() + 6 * 30), "Yellow", "Green"))
Note: going by months in SS can be tricky. You could use a Month function and add or subtract 6 but what's the goal? Is it to calculate 6 months of work days, calendar days, or just a general estimate? I typically use 180 days when I am looking at 6 month increments.
More on the MONTH function here:
-
Thank you, that worked beautifully.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!