how to ryg days prior to expiration, & after expiration

Need help with this formula. I have the first part
if "received" =green, if within 5 days before expiration date yellow, if = to or past expiration date red.
anything more than 5 days before expiration stays blank
I have tried many ways and can not get it to work.
Answers
-
Try this - but you need to change the column names in the formula to match your column names:
==IF(StatusNew@row = "Received", "Green", IF(Due@row >= TODAY(), "Red", IF(AND(Due@row <= TODAY(5), Due@row >= TODAY(-5)), "Yellow", "")))
-
This did not work for me. I attached.
Received=Green
Yellow if the date is 5 days before the expiration date "yellow", any thing that is the expiration date or past it "red"
anything prior to the 5 day window, "" or if the expiration date column is blank, ""
-
Hi @K8te
I hope you're well and safe!
Try something like this.
=IF([Permit Status]@row = "Received", "Green", IF(Due@row >= TODAY(), "Red", IF(AND(Due@row <= TODAY(5), Due@row >= TODAY(-5)), "Yellow", "")
Did that work/help?
I hope that helps!
Be safe, and have a fantastic weekend!
Best,
AndrΓ©e StarΓ₯ | Workflow Consultant / CEO @ WORK BOLD
β Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up, Awesome, or/and as the accepted answer. It will make it easier for others to find a solution or help to answer!
SMARTSHEET EXPERT CONSULTANT & PARTNER
AndrΓ©e StarΓ₯ | Workflow Consultant / CEO @ WORK BOLD
W: www.workbold.com | E: andree@workbold.com | P: +46 (0) - 72 - 510 99 35
Feel free to contact me for help with Smartsheet, integrations, general workflow advice, or anything else.
-
Sorry for the late response.
Thank you