Formula Help: Do This Week, Do Next Week
Hi, gang! I need to create a formula that populates Do This Week, Do Next Week, Do Three Weeks for my boss.
I have Start and Finish date columns as well as a dropdown Do column with those three as options. We're not looking for reports, but rather this summary view in Card View for him. Thank you for your help!
Best Answer
-
Hi @Laurin
If what you are trying to do is calculate a list of Do's based on the Start date, the formula would be
=IF(WEEKNUMBER(Start@row) - WEEKNUMBER(TODAY()) = 0, "Do This Week", IF(WEEKNUMBER(Start@row) - WEEKNUMBER(TODAY()) = 1, "Do Next Week", IF(WEEKNUMBER(Start@row) - WEEKNUMBER(TODAY()) > 1, "Do Three Week", "")))
Answers
-
Hi @Laurin
If what you are trying to do is calculate a list of Do's based on the Start date, the formula would be
=IF(WEEKNUMBER(Start@row) - WEEKNUMBER(TODAY()) = 0, "Do This Week", IF(WEEKNUMBER(Start@row) - WEEKNUMBER(TODAY()) = 1, "Do Next Week", IF(WEEKNUMBER(Start@row) - WEEKNUMBER(TODAY()) > 1, "Do Three Week", "")))
-
You're amazing; thank you jmyzk_cloudsmart_jp!
-
Happy to help. 😁
-
@jmyzk_cloudsmart_jp, et al -
I'm really struggling to successfully add to this formula. I'm trying to add a 4th element, "Later" that would apply to any task starting in more than 3 weeks. This was my last attempt:
=IF(WEEKNUMBER(Start@row) - WEEKNUMBER(TODAY()) = 0, "Do This Week", IF(WEEKNUMBER(Start@row) - WEEKNUMBER(TODAY()) = 1, "Do Next Week", IF(WEEKNUMBER(Start@row) - WEEKNUMBER(TODAY()) > 1, "Do Three Week", IF(WEEKNUMBER(Start@row) - WEEKNUMBER(TODAY()) > 2, “Later”, ””))))
Apart from the new request my boss is SUPER stoked. Thanks so much!
-
Hi @Laurin
" IF(WEEKNUMBER(Start@row) - WEEKNUMBER(TODAY()) > 3" needs to come erlier then " "IF(WEEKNUMBER(Start@row) - WEEKNUMBER(TODAY()) > 1" because ">1" includes ">3".
Do Later Column Formula:
=IF(WEEKNUMBER(Start@row) - WEEKNUMBER(TODAY()) = 0, "Do This Week", IF(WEEKNUMBER(Start@row) - WEEKNUMBER(TODAY()) = 1, "Do Next Week", IF(WEEKNUMBER(Start@row) - WEEKNUMBER(TODAY()) > 3, "Do Later", IF(WEEKNUMBER(Start@row) - WEEKNUMBER(TODAY()) > 1, "Do Three Week", ""))))
Here is the updated published sheet.
-
@jmyzk_cloudsmart_jp you're a genius, SS hero in my book. Thanks so much! The explanation is HUGE - the lightbulb has finally turned on here. The elevator made it to the top floor. 😆 Have a great day!
-
Happy to help!! 😁
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 139 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 496 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!