IF command and Date

Hi,
Β I have 2 columns: Next Audit Due Date and Status
If the date in βNext Audit Due Dateβ column is greater than the current date, I would like the βStatusβ column to fill in green and return value of On Track.
If the date in βNext Audit Due Dateβ column is less than the current date, I would like the βStatusβ column to fill in red and return value of Overdue
Thanks for your help.
Comments
-
Hi Violet,
Try something like this.
Use the formula below and then add the Conditional Formatting rules as needed from the status.
=IF(ISBLANK([Next Audit Due Date]@row); ""; IF([Next Audit Due Date]@row < TODAY(); "Overdue"; IF([Next Audit Due Date]@row > TODAY(); "On Track")))
The same version but with the below changes for your and others convenience.
=IF(ISBLANK([Next Audit Due Date]@row), "", IF([Next Audit Due Date]@row < TODAY(), "Overdue", IF([Next Audit Due Date]@row > TODAY(), "On Track")))
Depending on your country youβll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
Hope that helps!
Have a fantastic weekend!
Best,
AndrΓ©e StarΓ₯
Workflow Consultant / CEO @ WORK BOLD
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.