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, smartsheetguru.com
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
- 62.8K Get Help
- 376 Global Discussions
- 207 Industry Talk
- 440 Announcements
- 4.5K Ideas & Feature Requests
- 139 Brandfolder
- 129 Just for fun
- 130 Community Job Board
- 449 Show & Tell
- 30 Member Spotlight
- 1 SmartStories
- 284 Events
- 33 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!