VBA to Autofill a work/task schedule

StevenP138

New Member
Joined
Nov 3, 2020
Messages
2
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
I need to make a work schedule in a where different people are assigned tasks on different days of the week.



I would like to get any ideas on a way I can make a VBA that automatically fills out the blank days on the schedule while meeting these rules.



Only people that can preform the job are assigned to it.

If possible, a person only does one job a day.

If possible, a good rotation where you must do all the jobs.

If possible, a good mix of jobs that require multiple people.

  • (example Task #1 requires 2 people on M/W/F and 1 on Tu/Th
  • try to mix so you get an even number of chores on that task,
  • not always stuck on M/W/F or Tu/Th


Here is my List of Tasks and Employees that can do them.

Tasks.png


Here is an idea of where I'm heading for the schedule to look like. But open to any and all ideas.

Task Schedule.png


I'm not sure where to begin with this so I wanted to get some input and tips on where I should start or if anyone has encountered something similar to this already written which I can modify. Can anyone help me?
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney

Forum statistics

Threads
1,214,954
Messages
6,122,461
Members
449,085
Latest member
ExcelError

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