Due this week formula
I am using this formula =IF(WEEKNUMBER([End Date]@row) = WEEKNUMBER(TODAY()), "This week", "-") to pull a report if a task is due this week.
The formula is pulling tasks that were completed a year ago and pulling them into the report as due this week.
How do I correct this?
Best Answer
-
=IF(AND( WEEKNUMBER([End Date]@row) = WEEKNUMBER(TODAY()), YEAR([End Date]@row) = YEAR(TODAY())), "This Week", "-")
...
Answers
-
@LaurieSD Use the AND function to add a check for the year with the YEAR() function. Like this. YEAR([End Date]@row) = YEAR(Today())
Darren Mullen, join the Smartsheet Guru Elite
Get my 7 Smartsheet tips here
Author of: Smartsheet Architecture Solutions
-
Thank you Darren. Issue has been fixed
-
I'm trying to use the same formula and get "#unparsable" error. Can you check this for me?
=IFS(WEEKNUMBER([Due Date]@row) = WEEKNUMBER(TODAY() AND YEAR([End Date]@row) = YEAR(Today()),"This Week","-"))
-
Hi,
I hope you're well and safe!
Try something like this.=IF(WEEKNUMBER([Due Date]@row) = WEEKNUMBER(TODAY() AND YEAR([End Date]@row) = YEAR(Today()),"This Week","-"))
Did that work/help?
I hope that helps!
Be safe, and have a fantastic day!
Best,
Andrée Starå | Workflow Consultant / CEO @ WORK BOLD
✅ Did my comment(s) help/answer your question or solve your problem? Please support the Community and me by marking it - Insightful 💡- Vote Up ⬆️ - Aweseome ❤️ - or/and as the accepted answer. It will make it easier for others to find a solution or help to answer! I appreciate it, thanks!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.
-
=IF(AND( WEEKNUMBER([End Date]@row) = WEEKNUMBER(TODAY()), YEAR([End Date]@row) = YEAR(TODAY())), "This Week", "-")
...
-
This worked perfectly, Thank you!
-
@heyjay Thank you for the idea, worked well, is there a way to filter out due dates where the column in empty and no due date is listed?
-
Like this?
=IF(ISBLANK([End Date]@row), "Due Date is Blank", IF(AND( WEEKNUMBER([End Date]@row) = WEEKNUMBER(TODAY()), YEAR([End Date]@row) = YEAR(TODAY())), "This Week", "-"))
...
-
@heyjay , Yes, That's it, Thanks for lending your expertise… Been very helpful.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.3K Get Help
- 423 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 143 Just for fun
- 59 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 300 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!