populating a grid with items randomly selected items from a list

stirlingmw1

Board Regular
Joined
Jun 17, 2016
Messages
53
Office Version
  1. 2016
  2. 2013
  3. 2010
  4. 2007
Platform
  1. Windows
Good Afternoon all

I have a workbook that I use to allocate training presentations to members of my staff. rather than manually input these presentation titles into the grid I am trying to have this done through a macro. I hope you can help.

Worksheet "Briefs" contains an ever increasing list of briefs using =OFFSET(Briefs!$B$3,0,0,COUNTA(Briefs!$B:$B),1).
Worksheet "Matrix" has a grid B5:B12 Employees Names, C4:AA4 dates of when the presentation is to be delivered split into 5 Week blocks and each block 5 days (Mon to Fri) . C5:AA12 is where I insert the presentation title taken randomly from the Briefs list. this is repeated below for weeks 7 to 10 (Week 6 is not used)

The only restricting criteria is that there must not be more than 1 presentation per day, where possible every employee should have the same amount of presentations to deliver over whole period and no presentation should be repeated over the 5 week period.

Picture of the grid is attached. the Columns have been made narrow to reduce the size of the picture.

TIA

Steve
 

Attachments

  • Matrix.png
    Matrix.png
    37.2 KB · Views: 28

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,224,008
Messages
6,175,918
Members
452,684
Latest member
RRaively1

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