VBA Code for scheduling shift rotation

Aboouf90

New Member
Joined
Jul 4, 2022
Messages
1
Office Version
  1. 365
Platform
  1. Windows
Hello,
i am a shift supervisor
i have 16 worker with different skills
every worker has a pre defined day-off like the pic
every one of them work 2 weeks as day-shift and 2 weeks as night-shift and has to change his shift from night to day directly after his day-off
every 2 weeks i have to make a table for shift rotation as the worker who had a 14 days night has to change his shift to day-shift after his day-off, on the other hand i have to choose another worker with the equivalent skill to replace the worker in night-shift
So i want to make a code to make this process automatically to save time and effort.
attached
1- attendance sheet
2- employee day-off
3- employee skills

thanks for help
 

Attachments

  • Attendance.PNG
    Attendance.PNG
    45.1 KB · Views: 25
  • day-off.PNG
    day-off.PNG
    13.5 KB · Views: 24
  • skills.PNG
    skills.PNG
    28.2 KB · Views: 25

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).

Forum statistics

Threads
1,224,813
Messages
6,181,116
Members
453,021
Latest member
Justyna P

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