Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jat jat is offline
external usenet poster
 
Posts: 33
Default count scheduled staff between hours

i am using the weekly schedule from the microsoft templates at
http://office.microsoft.com/en-us/te...33&WT.mc_id=42

i was wondering if it is possible to count the number of staff that are
scheduled for each hour.

ex. fill in the schedule for Sunday (assormtment of shifts); 10:00-16:00;
10:00-17:00; 13:00-17:00;

How many staff are scehduled between 10:00 - 11:00 on Sunday?
formula would return 2
How many staff are scheudled between 11:00 - 12:00 on Sunday?
formula would return 2
How many staff are scheduled between 12:00 - 13:00 on Sunday?
formulat would return 2
etc....

need to know if it can be done? i would be doing this for each day of the
week, for each hour between 7AM and 9PM. one value in each each.

any help to get me going would be appreciated.

thank you,

jat

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 915
Default count scheduled staff between hours

jat wrote:
i am using the weekly schedule from the microsoft templates at
http://office.microsoft.com/en-us/te...33&WT.mc_id=42

i was wondering if it is possible to count the number of staff that are
scheduled for each hour.

ex. fill in the schedule for Sunday (assormtment of shifts); 10:00-16:00;
10:00-17:00; 13:00-17:00;

How many staff are scehduled between 10:00 - 11:00 on Sunday?
formula would return 2
How many staff are scheudled between 11:00 - 12:00 on Sunday?
formula would return 2
How many staff are scheduled between 12:00 - 13:00 on Sunday?
formulat would return 2
etc....

need to know if it can be done? i would be doing this for each day of the
week, for each hour between 7AM and 9PM. one value in each each.

any help to get me going would be appreciated.

thank you,

jat


Here is a simple example in columns A-C


Staff In Out
A 10:00 AM 4:00 PM
B 10:00 AM 5:00 PM
C 1:00 PM 5:00 PM

Hour beginning # Staff
10:00 AM 2 (cell B7)
11:00 AM 2
12:00 PM 2
1:00 PM 3
2:00 PM 3
3:00 PM 3
4:00 PM 2
5:00 PM 0 (cell B14)

The only formulas are in B7:B14. The formula in B7 is

=SUMPRODUCT((A7=$B$2:$B$4)*(A7<$C$2:$C$4))

Fill this down as needed.

Hope this gives you some ideas.
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 48
Default count scheduled staff between hours

How do I get this formula to count from PM to AM?
--
Amin


"smartin" wrote:

jat wrote:
i am using the weekly schedule from the microsoft templates at
http://office.microsoft.com/en-us/te...33&WT.mc_id=42

i was wondering if it is possible to count the number of staff that are
scheduled for each hour.

ex. fill in the schedule for Sunday (assormtment of shifts); 10:00-16:00;
10:00-17:00; 13:00-17:00;

How many staff are scehduled between 10:00 - 11:00 on Sunday?
formula would return 2
How many staff are scheudled between 11:00 - 12:00 on Sunday?
formula would return 2
How many staff are scheduled between 12:00 - 13:00 on Sunday?
formulat would return 2
etc....

need to know if it can be done? i would be doing this for each day of the
week, for each hour between 7AM and 9PM. one value in each each.

any help to get me going would be appreciated.

thank you,

jat


Here is a simple example in columns A-C


Staff In Out
A 10:00 AM 4:00 PM
B 10:00 AM 5:00 PM
C 1:00 PM 5:00 PM

Hour beginning # Staff
10:00 AM 2 (cell B7)
11:00 AM 2
12:00 PM 2
1:00 PM 3
2:00 PM 3
3:00 PM 3
4:00 PM 2
5:00 PM 0 (cell B14)

The only formulas are in B7:B14. The formula in B7 is

=SUMPRODUCT((A7=$B$2:$B$4)*(A7<$C$2:$C$4))

Fill this down as needed.

Hope this gives you some ideas.
.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Clearing scheduled work hours for weekends. Phil B. Excel Worksheet Functions 6 September 30th 08 01:58 PM
Clearing scheduled work hours for weekends Phil B. Excel Worksheet Functions 6 September 25th 08 09:03 PM
scheduled hours total Jeff Desruisseaux Excel Discussion (Misc queries) 1 July 1st 05 11:38 AM
scheduled hours total Jeff Desruisseaux Excel Worksheet Functions 1 July 1st 05 11:38 AM
equation that adds hours as scheduled. 11:00 to 5:00 +6hrs. res. PCSupYak Excel Discussion (Misc queries) 1 January 26th 05 02:47 AM


All times are GMT +1. The time now is 03:16 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"