Staffing Spreadsheet Hour By Day?

VossBat

New Member
Joined
Oct 11, 2018
Messages
3
Greetings!
I'm creating spreadsheets to show how many people were "on the clock" at each hour interval for each day of the week.
I'm currently adding the information manually, but it's incredibly time consuming, and as with the example below, the data keeps changing so I'd rather have a formula to get it to automate! Any suggestions?

This is the result I'm looking for : (B2- 1 person works on Mondays from 12am to 1am) TIA!

image.png



from data like this:

image.png
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
namestartfinish
fred01/10/2018 07:00:0001/10/2018 15:00:00col I
harry01/10/2018 14:00:0001/10/2018 22:00:00
fredharryon clockrow 5
01/10/2018 00:00:00nono0
01/10/2018 01:00:00nono0
01/10/2018 02:00:00nono0
01/10/2018 03:00:00nono0
01/10/2018 04:00:00nono0
01/10/2018 05:00:00nono0
01/10/2018 06:00:00nono0
01/10/2018 07:00:00yesno1
01/10/2018 08:00:00yesno1
01/10/2018 09:00:00yesno1
01/10/2018 10:00:00yesno1
01/10/2018 11:00:00yesno1
formula in I601/10/2018 12:00:00yesno1
01/10/2018 13:00:00yesno1
=IF(AND(H6>B$2-0.00001,H6<=C$2+0.00001),"yes","no")01/10/2018 14:00:00yesyes2
01/10/2018 15:00:00yesyes2
01/10/2018 16:00:00noyes1
01/10/2018 17:00:00noyes1
01/10/2018 18:00:00noyes1
01/10/2018 19:00:00noyes1
01/10/2018 20:00:00noyes1
01/10/2018 21:00:00noyes1
01/10/2018 22:00:00noyes1
01/10/2018 23:00:00nono0
02/10/2018 00:00:00nono0
02/10/2018 01:00:00nono0
02/10/2018 02:00:00nono0
02/10/2018 03:00:00nono0
02/10/2018 04:00:00nono0
02/10/2018 05:00:00nono0
02/10/2018 06:00:00nono0
02/10/2018 07:00:00nono0
02/10/2018 08:00:00nono0
02/10/2018 09:00:00nono0
02/10/2018 10:00:00nono0
02/10/2018 11:00:00nono0

<colgroup><col><col><col><col span="4"><col><col span="7"></colgroup><tbody>
</tbody>
 
Upvote 0
Long Quote removed - makes the thread harder to read & navigate

Thanks! I'll certainly give it a try if I'm not able to find something less labor intensive for what I'm doing:

Is there any chance there's a way to do it with the information formatted as it is in my example? There are over 300 people on it.
 
Last edited by a moderator:
Upvote 0
Also: for those that work an overnight shift, will this still translate that correctly? or am I going to need to manually make an entire week template of 24 hour increments for 300 people?
 
Upvote 0

Forum statistics

Threads
1,215,029
Messages
6,122,760
Members
449,095
Latest member
m_smith_solihull

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