Calender / Roster Help please

DDX

New Member
Joined
Sep 4, 2012
Messages
3
Hi All

Need some help please. We are working on 28 day roster. With some off days in between. Then the cycle starts again. It looks like this
[TABLE="width: 500"]
<tbody>[TR]
[TD="align: center"]Th[/TD]
[TD="align: center"]Fr[/TD]
[TD="align: center"]Sa[/TD]
[TD="align: center"]Su[/TD]
[TD="align: center"]Mo[/TD]
[TD="align: center"]Tu[/TD]
[TD="align: center"]We[/TD]
[TD="align: center"]Th[/TD]
[TD="align: center"]Fr[/TD]
[TD="align: center"]Sa[/TD]
[TD="align: center"]Su[/TD]
[TD="align: center"]Mo[/TD]
[TD="align: center"]Tu[/TD]
[TD="align: center"]We[/TD]
[TD="align: center"]Th[/TD]
[TD="align: center"]Fr[/TD]
[TD="align: center"]Sa[/TD]
[TD="align: center"]Su[/TD]
[TD="align: center"]Mo[/TD]
[TD="align: center"]Tu[/TD]
[TD="align: center"]We[/TD]
[TD="align: center"]Th[/TD]
[TD="align: center"]Fr[/TD]
[TD="align: center"]Sa[/TD]
[TD="align: center"]Su[/TD]
[TD="align: center"]Mo[/TD]
[TD="align: center"]Tu[/TD]
[TD="align: center"]We[/TD]
[/TR]
[TR]
[TD="align: center"]T[/TD]
[TD="align: center"]N[/TD]
[TD="align: center"]N[/TD]
[TD="align: center"]N[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]N[/TD]
[TD="align: center"]N[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]D[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]N[/TD]
[TD="align: center"]N[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[TD="align: center"]X[/TD]
[/TR]
</tbody>[/TABLE]

I would like to build a calendar with the date and roster. If I select a date in next year, I would like to see on what shift I would be.

But I have no idea how to do this.
Thanks for the help
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
The following formula is one solution for a "Shift Calculator":

=MID("TNNNXDDDXXXNNXXDDDDXNNXXXXXX",MOD(MyDate-DayOne,28)+1,1)

DayOne = Known date that starts the cycle
MyDate = Any date after DayOne

I'd suggest you use cells to enter these dates.

Here's how it works: The MOD part returns the reminder of number of days divided by 28. Possible values are always between 0 and 27. Since we're using this reminder to fetch the Nth value from our "ShiftList" we need to add 1 to it ( = can't get the 0th value from the list).
 
Upvote 0
Thanks a lot Misca

It helped a lot. Learned something new today.
Will go and try putting the two together.
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,159
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