Forum Discussion
Tina_G1620
Jan 10, 2024Copper Contributor
Formula for building a weekly schedule, using week ending dates only
I am trying to build a schedule based on week ending dates. I am able to get the start date to filter in, but not the end dates. As you can see in G4 it is repeat the job name with a start date that matches G3. But I can't get it to repeat until the end date.
Should I change formulas? Can this one be edited to pick up end date?
Thanks
Tina
7 Replies
Sort By
- Patrick2788Silver Contributor
This is a 365 solution. I've set up a few dynamic items so you can add more data and it will update.
=LET( height, ROWS(Jobs), width, COLUMNS(WeekOf), GetJobs, LAMBDA(r, c, LET( weekly_date, INDEX(WeekOf, , c), first_date, INDEX(Start, r), second_date, INDEX(End, r), job, INDEX(Jobs, r), IF(AND(weekly_date >= first_date, weekly_date <= second_date), job, "") ) ), MAKEARRAY(height, width, GetJobs) )
- Tina_G1620Copper ContributorThat is awesome. Glad you attached a file.
I have a few more questions. Do you mind if I send you a file with examples?- Patrick2788Silver ContributorNot at all. I'd be happy to take a look.
- peiyezhuBronze Contributorif possible,share your file instead of screenshot.
Maybe it is easier to figure out what you need.- Tina_G1620Copper ContributorHello,
I sent the file directly to you.
Thank you!