Check if today is between set dates yearly
Hi,
Is there a way to check if today is between two different dates? The day and month will be the same every year.
I need this to check if our cars have the correct tires for the seasons.
Best Answer
-
Try something like this instead.
= IF(AND(TODAY() >= DATE(YEAR(TODAY()), 5, 1), TODAY() <= DATE(YEAR(TODAY()), 10, 15)), "Yes, Today is between the dates")
Did that work?
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.
Answers
-
Hi @Trond
I hope you're well and safe!
Try something like this.
= IF(AND(TODAY() >= [Date Start]@row, TODAY() <= [Date End]@row), "Yes, Today is between the dates")
Did that work/help?
I hope that helps!
Have a fantastic week & Happy New Year!
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 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.
-
With this function you need to update the start and end date every year right? I wanted it just to check if today was between 1st of may and 15th of oktober without caring about the year.
-
Try something like this instead.
= IF(AND(TODAY() >= DATE(YEAR(TODAY()), 5, 1), TODAY() <= DATE(YEAR(TODAY()), 10, 15)), "Yes, Today is between the dates")
Did that work?
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.
-
That work as a helper column, but is there a way to do it as a report filter? To me it seems like it's not possible to filter by function on reports
-
Unfortunately, no, it's not. You would need to use a so-called helper column.
✅Remember! Did my post(s) help or answer your question or solve your problem? Please support the Community by marking it Insightful/Vote Up 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.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63K Get Help
- 379 Global Discussions
- 213 Industry Talk
- 442 Announcements
- 4.6K Ideas & Feature Requests
- 140 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 305 Events
- 34 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!