Kelley day schedule help

firefighter345

New Member
Joined
Nov 2, 2016
Messages
4
I am a firefighter and work with excel a couple of times a year. One specific instance is I "build" our Kelley day schedule... it is a long painful process and it takes quite a bit of time. I am hoping someone can show, tell or teach me how to setup the document to autofill when one date is input. A little info may help this proceed and I will (if I can figure it out) post a screen shot of a current schedule.

So here is how it works we work every third day so I work Sunday, Wednesday and Saturday one week, Tuesday, Friday the next and then Monday, Thursday before it starts all over at Sunday. We are forced to take a day off every 6 weeks on a day we choose the year prior. So for example every 6th Monday in 2016 I have off and that started in January 4th so this year I had the following days off Jan 4, Feb 15, Mar 28, May 9, June 20, Aug 1, Spet 12, Oct 24 and Dec 5. I hope this makes sense. Also if it could auto total the number of days in the column that would be great, if not I can handle that quickly enough.

Our 2018 calendar is what I am working to solve the formula(s) for but don't know enough about excel to figure it out. It is or should be formatted identically to this...
zKelley%20schedule_zpshki3aclv.jpg
[/URL][/IMG]

Thanks in advance for help/suggestions

The first Kelley of the year for my shift in 2018 is Tuesday January 2nd the next would be Friday January 5, Monday Jan 8, continuing every third day
 
Last edited by a moderator:

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
Re: Hello

firefighter345,

I'm afraid I have more questions than answers for this thread. First off, your title 'Hello' is not descriptive of what help you are seeking.
I am trying to understand the 2016 schedule you provided.
I assume a 'Kelley Day' is a Day Off.
You are not working Mondays beginning Jan 4th and every 6 weeks (42 days) thereafter.
Simple enough…C23=C22+42, then copy cell c23 and paste it down to C30.
I assume you were working Jan 1st, but off Jan 4th.

The rest is very confusing…assuming it takes 3 weeks to complete the rotation described:
Sunday, Wednesday, Saturday in Week 1
Tuesday and Friday in Week 2
Monday and Thursday in Week 3
Why are there only 2 weeks shown?

I tried making sense of it using a 3 week format, see spreadsheet excerpt below.
But I had only questions:
Jan 19th and 22nd are in the 4th week of the month.
Why are you showing Jan 19 in Week 1 and Jan 22 in Week 2?
Jan 25 and 28 are in the 5th week of the month.
Why are you showing Jan 25th and 28th in Week 2?
Perhaps you can provide some clarification on these questions and others might join in.
Perpa

Excel 2007
A
B
C
D
E
F
G
H
18
2016 SCHEDULE
19
Days Off
20
Day/Week
Sunday/1
Monday/1
Tuesday/1
Wednesday/1
Thursday/1
Friday/1
Saturday/1
21
Name
22
10-Jan
4-Jan
13-Jan
1-Jan
16-Jan
23
31-Jan
15-Feb
3-Feb
6-Feb
24
21-Feb
28-Mar
24-Feb
27-Feb
25
9-May
26
20-Jun
27
1-Aug
28
12-Sep
29
24-Oct
30
5-Dec
31
32
33
34
Day/Week
Sunday/2
Monday/2
Tuesday/2
Wednesday/2
Thursday/2
Friday/2
Saturday/2
35
Name
36
19-Jan
22-Jan
37
9-Feb
12-Feb
38
1-Mar
4-Mar
39
40
41
42
43
44
45
46
47
48
Day/Week
Sunday/3
Monday/3
Tuesday/3
Wednesday/3
Thursday/3
Friday/3
Saturday/3
49
Name
50
25-Jan
28-Jan
51
15-Feb
18-Feb
52
7-Mar
10-Mar
53

<tbody>
</tbody>
Sheet1




<tbody>
</tbody>
 
Upvote 0
Re: Hello

Welcome to the MrExcel board!

Images of data are not as good as data that can be copy/pasted to our worksheets to test with so for the future, you might investigate: Attachments

I am also somewhat confused by the whole explanation, and particularly in relation to the forced days off. However, if what you have shown is what you want for 2016 then you could try this:

Start date is entered into cell A1
Formula in B3 is copied across to H3
Formula in B4 is copied across to H4 and down to row 11.
Formula in B12 is copied across to H12

Formula in B16 is copied across to H16
Formula in B17 is copied across to H17 and down to row 24
Formula in B25 is copied across to H25


Excel 2010 32 bit
ABCDEFGH
11-Jan-16
2SundayMondayTuesdayWednesdayThursdayFridaySaturday
310-Jan4-Jan19-Jan13-Jan7-Jan1-Jan16-Jan
421-Feb15-Feb1-Mar24-Feb18-Feb12-Feb27-Feb
53-Apr28-Mar12-Apr6-Apr31-Mar25-Mar9-Apr
615-May9-May24-May18-May12-May6-May21-May
726-Jun20-Jun5-Jul29-Jun23-Jun17-Jun2-Jul
87-Aug1-Aug16-Aug10-Aug4-Aug29-Jul13-Aug
918-Sep12-Sep27-Sep21-Sep15-Sep9-Sep24-Sep
1030-Oct24-Oct8-Nov2-Nov27-Oct21-Oct5-Nov
1111-Dec5-Dec20-Dec14-Dec8-Dec2-Dec17-Dec
12# of Days9999999
13
14
15SundayMondayTuesdayWednesdayThursdayFridaySaturday
1631-Jan25-Jan9-Feb3-Feb28-Jan22-Jan6-Feb
1713-Mar7-Mar22-Mar16-Mar10-Mar4-Mar19-Mar
1824-Apr18-Apr3-May27-Apr21-Apr15-Apr30-Apr
195-Jun30-May14-Jun8-Jun2-Jun27-May11-Jun
2017-Jul11-Jul26-Jul20-Jul14-Jul8-Jul23-Jul
2128-Aug22-Aug6-Sep31-Aug25-Aug19-Aug3-Sep
229-Oct3-Oct18-Oct12-Oct6-Oct30-Sep15-Oct
2320-Nov14-Nov29-Nov23-Nov17-Nov11-Nov26-Nov
2426-Dec29-Dec23-Dec
25# of Days8988998
2016
Cell Formulas
RangeFormula
B3=IF(TEXT($A1,"dddd")=B2,$A1,F3+3)
B4=IF(YEAR(B3+42)=YEAR($A$1),B3+42,"")
B12=COUNT(B3:B11)
B16=B3+21
B17=IF(YEAR(B16+42)=YEAR($A$1),B16+42,"")
B25=COUNT(B16:B24)



Now, if I change cell A1 to 2-Jan-18, I get the following. Is that what you want for 2018? If not, more clarification please.


Excel 2010 32 bit
ABCDEFGH
12-Jan-18
2SundayMondayTuesdayWednesdayThursdayFridaySaturday
314-Jan8-Jan2-Jan17-Jan11-Jan5-Jan20-Jan
425-Feb19-Feb13-Feb28-Feb22-Feb16-Feb3-Mar
58-Apr2-Apr27-Mar11-Apr5-Apr30-Mar14-Apr
620-May14-May8-May23-May17-May11-May26-May
71-Jul25-Jun19-Jun4-Jul28-Jun22-Jun7-Jul
812-Aug6-Aug31-Jul15-Aug9-Aug3-Aug18-Aug
923-Sep17-Sep11-Sep26-Sep20-Sep14-Sep29-Sep
104-Nov29-Oct23-Oct7-Nov1-Nov26-Oct10-Nov
1116-Dec10-Dec4-Dec19-Dec13-Dec7-Dec22-Dec
12# of Days9999999
13
14
15SundayMondayTuesdayWednesdayThursdayFridaySaturday
164-Feb29-Jan23-Jan7-Feb1-Feb26-Jan10-Feb
1718-Mar12-Mar6-Mar21-Mar15-Mar9-Mar24-Mar
1829-Apr23-Apr17-Apr2-May26-Apr20-Apr5-May
1910-Jun4-Jun29-May13-Jun7-Jun1-Jun16-Jun
2022-Jul16-Jul10-Jul25-Jul19-Jul13-Jul28-Jul
212-Sep27-Aug21-Aug5-Sep30-Aug24-Aug8-Sep
2214-Oct8-Oct2-Oct17-Oct11-Oct5-Oct20-Oct
2325-Nov19-Nov13-Nov28-Nov22-Nov16-Nov1-Dec
2431-Dec25-Dec28-Dec
25# of Days8998898
2018
 
Last edited:
Upvote 0
Re: Hello

However, if what you have shown is what you want for 2016 then you could try this:
This sure seems to be what I am looking for. I will look it over and get back to you.

perpa I am not sure what your set up is
 
Last edited by a moderator:
Upvote 0
Re: Hello

This sure seems to be what I am looking for. I will look it over and get back to you.
OK, no problem.

BTW, you may have noticed that I removed most of my message that you quoted in your post. It is best not to quote whole long posts as it makes your post and the whole thread harder to read/navigate. If you need to quote, just quote enough to indicate who you are replying to and/or any specific parts of the post that you want to refer to.


Edit: I also just realised that I didn't give you all the formulas/information needed for my solution. In the first table, the first row requires two different formulas due to the 'wrap around' effect, as follows:

Formula in B3 is copied across, only as far as D3
Formula in E3 is copied across to H3


Excel 2010 32 bit
ABCDEFGH
11-Jan-16
2SundayMondayTuesdayWednesdayThursdayFridaySaturday
310-Jan4-Jan19-Jan13-Jan7-Jan1-Jan16-Jan
2016
Cell Formulas
RangeFormula
B3=IF(TEXT($A1,"dddd")=B2,$A1,F3+3)
E3=IF(TEXT($A1,"dddd")=E2,$A1,B3+3)
 
Last edited:
Upvote 0
So just to be sure the formula is copied and pasted exactly as it is into those cells indicated? I am having to change your values to match the cells in the spreadsheet we already have built so I am a bit confused.

ALso you said that your B16 is copied across to H16 so each one should be the formula you have in B16 or the B needs to change with each column?
 
Last edited by a moderator:
Upvote 0
Re: Hello

So just to be sure the formula is copied and pasted exactly as it is into those cells indicated?
Yes, copy the formula from the forum and paste into the cell indicated. Then copy/paste (or drag the Fill Handle at the bottom right of the cell) into the other cells indicated.

However, the formula is written for my layout (obviously :)), not yours.


I am having to change your values to match the cells in the spreadsheet we already have built so I am a bit confused.
If possible, I'd suggest replicating my layout to 'prove' the concept before trying to modify to suit your layout.

In the end, if you need help with the modifications, then show/tell us more detail about your layout.
 
Upvote 0
Re: Hello

ALso you said that your B16 is copied across to H16 so each one should be the formula you have in B16 or the B needs to change with each column?
The B will change. You copy my formula into the cell indicated, then you copy that cell to the other cells. In doing that, the references will change automatically.
 
Upvote 0

Forum statistics

Threads
1,215,047
Messages
6,122,858
Members
449,096
Latest member
Erald

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