Basic Roster

mattlong

New Member
Joined
Jul 31, 2007
Messages
6
Hi,

I'm looking to create a simple roster that will allocate a name from a list to a cell within my spreadsheet. Whether this is by VB or formula dosen't worry me.

My spreadsheet looks like the following:

A1 B1 C1 D1

A8 Date am/pm Name
A9 01/01/07 AM Jim
A10 01/01/07 PM Jane
A11 07/01/07 AM Mark
A12 07/01/07 PM Leroy
A13 14/01/07 AM Peter
A14 14/01/07 PM Jim

So basically what I need to do is from a list of names
ie.

Jim
Jane
Mark
Leroy
Peter
Jim

Allocate their name to cell D9:D14 in a rotational format. Take note of the dates, there are two shifts per date. No one person can be rostered on twice in a row (or twice on the same day). I would also like to stipulate how many times each person is rostered on in total.

For example, say....I only want Jim to be rostered on 3 times for the entire roster.

Having said all of this, I will also have to input the cells I want populated, as I cant have the whole spreadsheet filling with names.

I hope this makes sense!?!?

Thanks to anyone who can help!! This would save HOURS of work! :D

Matt
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

mattlong

New Member
Joined
Jul 31, 2007
Messages
6
The table didn't quite turn out right...here it is again..

<TABLE border="2">
<TD> A</TD> <TD> B</TD><TD> C</TD> <TD> D</TD>

<TR> <TD> -</TD> <TD>- </TD> <TD> -</TD> <TD>-</TD> </TR>

<TR> <TD> A8</TD> <TD> Date</TD> <TD> AM/PM</TD> <TD>Name
</TD> </TR>

<TR><TD>A9</TD><TD>01/01/07</TD><TD>AM</TD><TD>Jim</TD></TR>

<TR><TD>A10</TD><TD>01/01/07</TD><TD>PM</TD><TD>Jane
</TD></TR>

<TR><TD>A11</TD><TD>07/01/07</TD><TD>AM</TD><TD>Mark
</TD></TR>

<TR><TD>A12</TD><TD>07/01/07</TD><TD>PM</TD><TD>Leroy
</TD></TR>

<TR><TD>A13</TD><TD>14/01/07</TD><TD>AM</TD><TD>Peter
</TD></TR>

<TR><TD>A14</TD><TD>14/01/07</TD><TD>PM</TD><TD>Jim
</TD></TR>

</TABLE>
 
Upvote 0

Forum statistics

Threads
1,191,228
Messages
5,985,399
Members
439,962
Latest member
max_york

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
Top