Formula to return parent row for current week
Hi community,
I'm attempting to find a formula that will return the parent row where the end date is equal to the current week.
I have created a helper column that calculates the current week number. Now the question is what to do with it to get the result I want.
Any ideas on formulas to use? I'm leaning toward Index/Match, but I'm just not skilled enough to figure out how to make it work.
In the example screenshot, if today was week 49, my formula would return "Initiation" for the result.
Any help is greatly appreciated. Thank you!
Comments
-
Hi,
Try something like this.
=INDEX([Task Name]:[Task Name]; MATCH(WEEKNUMBER(TODAY()); [Weeknumber Helper]:[Weeknumber Helper]; 0))
The same version but with the below changes for your and others convenience.
=INDEX([Task Name]:[Task Name], MATCH(WEEKNUMBER(TODAY()), [Weeknumber Helper]:[Weeknumber Helper], 0))
Depending on your country you’ll need to exchange the comma to a period and the semi-colon to a comma.
Did it work?
I hope that helps!
Have a fantastic day!
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.
-
That worked perfectly! Thank you so much! I was close, but just wasn't quite there.
-
I need to now figure out how to account for tasks that span multiple weeks -- meaning the end date may NOT be in the current week, but is the current task....
-
Excellent!
Happy to help!
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.
-
Andree,
Any ideas on how to account for tasks that span multiple weeks? (see screenshot below).
My "weeknumber" helper checks END date to set the week number (which we then use Index/Match to identify the Task Name for the current week -- thanks to your help).
This works great when it is a 1 week task, but when it spans multiple weeks, it returns no match for the example below since the end date is in the future (even though this task is in process currently).
We only have a few tasks that span multiple weeks, but I'm now not sure how to manage those.
Any help is greatly appreciated.
Thanks!
-
Did you get it working or do you still need help?
Have a fantastic day!
Best,
Andrée
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
- Customer Resources
- 64.5K Get Help
- 424 Global Discussions
- 136 Industry Talk
- 465 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 145 Just for fun
- 63 Community Job Board
- 465 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 301 Events
- 39 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!