Dynamic Task Schedule

EvenS8245

New Member
Joined
Mar 25, 2022
Messages
25
Office Version
  1. 2013
Platform
  1. Windows
I’m not sure this is even possible but I’m hopeful, so it will save me time.



I have been tasked with creating a calendar for updating scheduled tasks at work. These dates are constantly updated to meet business needs. I’m trying to write a formula that would pull these dates and update on the calendar that I have built so I don’t have to manually delete the previous date and update the new date.

I have built a calendar which will refresh when I select a different year (using a drop down list). The dates will refresh by using a sequence formula written out as =SEQUENCE(1,7,$A$1-WEEKDAY($A$1)+1) – the following weeks in the month would be the formula +7,+14, etc. I included a conditional format formula =MONTH(B8)<>MONTH($A$1) to grey out the dates that occurred in the sequence but did not fall in the month.



There are nine different types of records that could show up on a scheduled date (sometimes 2 could be scheduled the same date), so I have left nine available rows (one for each task type) for each date.

My guess is that I would need some type of IF with an Index formula to show the scheduled type for the date or possibly an IFNA or IFERROR. I'm also guessing that i can use the same conditional format formula to leave the cell greyed out if it doesn't fall within the month.



Does anyone know if this is just crazy or if it is possible to have the tasks populate on the date they occur?

Sorry i'm not able to upload mini-sheet. keeps giving me an error.


1700068488827.png





May2023June2023
SundayMondayTuesdayWednesdayThursdayFridaySaturdaySundayMondayTuesdayWednesdayThursdayFridaySaturday
3012345628293031123
Introductions
Notes
Projects
Videos
Meetings
Trainings
Staffing
Adjustments
Presentations
7891011121345678910
Introductions
Notes
Projects
Videos
Meetings
Trainings
Staffing
Adjustments
Presentations
1415161718192011121314151617
Introductions
Notes
Projects
Videos
Meetings
Trainings
Staffing
Adjustments
Presentations
2122232425262718192021222324
Introductions
Notes
Projects
Videos
Meetings
Trainings
Staffing
Adjustments
Presentations
282930311232526272829301
Introductions
Notes
Projects
Videos
Meetings
Trainings
Staffing
Adjustments
Presentations



Here is the raw data i have for the task schedule:

1700068569658.png




2023
Introductions
MayJuneJulyAugustSeptemberOctoberNovemberDecember
3-May2-Jun4-Jul2-Aug5-Sep3-Oct2-Nov4-Dec
4-May3-Jun5-Jul3-Aug6-Sep4-Oct3-Nov5-Dec
5-May4-Jun
5-Jun
Notes
MayJuneJulyAugustSeptemberOctoberNovemberDecember
8-May6-Jun6-Jul4-Aug7-Sep5-Oct4-Nov6-Dec
9-May7-Jun7-Jul5-Aug8-Sep6-Oct5-Nov7-Dec
Projects
MayJuneJulyAugustSeptemberOctoberNovemberDecember
9-May9-Jun9-Jul8-Aug8-Sep9-Oct6-Nov7-Dec
Videos
MayJuneJulyAugustSeptemberOctoberNovemberDecember
11-May11-Jun11-Jul10-Aug11-Sep11-Oct10-Nov7-Dec
Meetings
MayJuneJulyAugustSeptemberOctoberNovemberDecember
10-May10-Jun10-Jul10-Aug11-Sep11-Oct10-Nov6-Dec
Trainings
MayJuneJulyAugustSeptemberOctoberNovemberDecember
17-May16-Jun16-Jul18-Aug18-Sep18-Oct15-Nov16-Dec
StaffingEMEA / APAC
MayJuneJulyAugustSeptemberOctoberNovemberDecember
15-May14-Jun13-Jul14-Aug13-Sep13-Oct15-Nov8-Dec
Adjustments
MayJuneJulyAugustSeptemberOctoberNovemberDecember
22-May21-Jun20-Jul22-Aug20-Sep20-Oct17-Nov18-Dec
Presentations
MayJuneJulyAugustSeptemberOctoberNovemberDecember
23-May22-Jun21-Jul23-Aug21-Sep23-Oct20-Nov19-Dec
 

Attachments

  • 1700068245680.png
    1700068245680.png
    21 KB · Views: 20

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
I created a pivot table for the months and dates. thought that would be easier

Introductions
Row LabelsMax of DayMax of Day2Max of Day3Max of Day4Max of Day5
May
5/3/2023​
5/4/2023​
5/5/2023​
June
6/2/2023​
6/3/2023​
6/4/2023​
6/5/2023​
July
7/4/2023​
7/5/2023​
August
8/2/2023​
8/3/2023​
September
9/5/2023​
9/6/2023​
October
10/3/2023​
10/4/2023​
November
11/2/2023​
11/3/2023​
December
12/4/2023​
12/5/2023​
January
1/4/2024​
1/5/2024​
1/6/2024​
 
Upvote 0
Good to hear you solved it.
If you would like to post the full solution then it is perfectly fine to mark your post as the solution to help future readers. Otherwise, please do not mark a post that doesn't contain a solution.
 
Upvote 0
I converted the dates into a fixed table and named the table "DD".

1700224469223.png


Then wrote out a count if formula with a reference to the date. Of course this formula had to be modified for each row to search different tables.

=IF(COUNTIF(DD[#All],E144),Ref!$H$3,"")

1700224683819.png



Seemed to work. Now i need to modify to only pull back if it falls within the listed month.
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,248
Members
452,623
Latest member
cliftonhandyman

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top