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.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 62.3K Get Help
- 364 Global Discussions
- 199 Industry Talk
- 428 Announcements
- 4.4K Ideas & Feature Requests
- 136 Brandfolder
- 127 Just for fun
- 128 Community Job Board
- 445 Show & Tell
- 28 Member Spotlight
- 1 SmartStories
- 283 Events
- 35 Webinars
- 7.3K Forum Archives