Daily employee scheduling

homer77

New Member
Joined
Nov 27, 2017
Messages
1
Hello

I am in charge of creating the schedule for my department. I have attached a template here.

as you can see I use initials and quite often probably just because of my incompetency I tend to forget to put someone down on the schedule.

How can I build a check or macro to ensure that I have accounted for everyone at work?

I intentionally left a few folks out in the attached template as I was trying different ways to see how to create a formula or macro that would alert me to their absence (for example I am missing "A" on Dec 1 and "M" on Dec 8th)

Logic is pretty simple - if you are not OFF or not ON CALL then you need to be covering one of the services. So A or M in this case needs to be assigned to a service on the respective days.

I am not looking for help with assignments. I am only looking to make sure that all my people are accounted for each day. All I need is a pass (all names accounted) or fail (someone missing- so I can take a second look and figure out who is missing). I

I seem to be terrible at making sure that all initials are covered for each day. I have even resorted to writing them down on a piece of paper and scratching off each name as I schedule them for each day.

thank you in advance

I will try to attach the screenshot here.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Try something along the lines of this - you'll have to adjust it to suit your schedule, as I don't have your template.
In cell F2, enter =IF(SUM(1*ISNUMBER(MATCH(TRANSPOSE($H$2:$H$6),A2:E2,0)))=COUNTA($H$2:$H$6),"Pass","Fail") and press CONTROL+SHIFT+ENTER as it's an array formula.

[TABLE="class: grid, width: 753"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Shift 1[/TD]
[TD]Shift 2[/TD]
[TD]Shift 3[/TD]
[TD]Shift 4[/TD]
[TD]Shift 5[/TD]
[TD]Check[/TD]
[TD][/TD]
[TD]List of Names[/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]Pass[/TD]
[TD][/TD]
[TD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TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,198
Members
453,022
Latest member
RobertV1609

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