Adding similar times from same dates

jackfox68

Board Regular
Joined
Jan 24, 2010
Messages
121
I have a spreadsheet that contains up to 13 accounts, Each account has multiple dates, and under each date there can be up to 24 hours, each listing a varying headcount number. I need to be able to total up the headcount number for each hour of the day for each date listed. An example of the layout is posted below. The output will go into another sheet with the dates listed across the top and the times down the side.






Excel 2010
ABCDEFG
1Planned Staffing Numbers by Interval
2
3From:04/20/2013 12:00 AM
4To:04/20/2013 11:59 PM
5
6Organization: ATT SMB Sales Agents (Filtered by "All Scheduled")
7Apr 20, 2013Total# On Contact# Not On Contact# Working# Not Working# Paid
87:30:00 AM1.001.000.001.000.001.00
98:00:00 AM4.004.000.004.000.004.00
108:30:00 AM4.004.000.004.000.004.00
119:00:00 AM4.003.500.503.500.504.00
129:30:00 AM4.003.001.003.001.004.00
1310:00:00 AM4.003.500.503.500.504.00
1410:30:00 AM4.004.000.004.000.004.00
1511:00:00 AM4.004.000.004.000.004.00
1611:30:00 AM4.003.500.503.500.503.50
1712:00:00 PM4.002.002.002.002.002.00
1812:30:00 PM4.002.501.502.501.502.50
191:00:00 PM4.004.000.004.000.004.00
201:30:00 PM4.004.000.004.000.004.00
212:00:00 PM5.005.000.005.000.005.00
222:30:00 PM8.006.501.506.501.508.00
233:00:00 PM8.007.500.507.500.508.00
243:30:00 PM8.007.500.507.500.508.00
254:00:00 PM7.005.501.505.501.507.00
264:30:00 PM4.004.000.004.000.004.00
275:00:00 PM4.004.000.004.000.004.00
285:30:00 PM4.004.000.004.000.004.00
296:00:00 PM4.003.001.003.001.003.00
306:30:00 PM4.003.500.503.500.503.50
317:00:00 PM4.003.001.003.001.003.00
327:30:00 PM4.003.001.003.001.003.00
338:00:00 PM4.003.500.503.500.503.50
348:30:00 PM4.003.500.503.500.504.00
359:00:00 PM4.003.001.003.001.004.00
369:30:00 PM4.003.500.503.500.504.00
3710:00:00 PM4.004.000.004.000.004.00
3810:30:00 PM3.003.000.003.000.003.00
39Organization: Avast Sales Agents (Filtered by "All Scheduled")
40Apr 20, 2013Total# On Contact# Not On Contact# Working# Not Working# Paid
418:00:00 AM1.001.000.001.000.001.00
Page1_1


Thanks
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Do you mean you want a summary for all the 13 departments totalled together? Does the sheet list all 13 departments for one day, or is there data for previous days on the same sheet?
 
Upvote 0
I want a summary for all 13 departments, for each 1/2 hour of the day, for each date listed. The report that is produced run horizontal and the dates are not necessarily in order so I am not even sure there is an excel formula that will be able to do this.
 
Upvote 0
I want a summary for all 13 departments, for each 1/2 hour of the day, for each date listed. The report that is produced run horizontal and the dates are not necessarily in order so I am not even sure there is an excel formula that will be able to do this.

Could you provide example of the outcome?
 
Upvote 0
Could you provide example of the outcome?

It would look something like this.


Excel 2010
OPQRS
2TimeApr 20, 2013Apr 21, 2013Apr 22, 2013Apr 23, 2013
312:00:00 AM67.571.569.573.1
412:30:00 AM52565457.6
51:00:00 AM47514952.6
61:30:00 AM36403841.6
72:00:00 AM25292730.6
82:30:00 AM16201821.6
93:00:00 AM16201821.6
103:30:00 AM16201821.6
114:00:00 AM16201821.6
124:30:00 AM16201821.6
135:00:00 AM16201821.6
145:30:00 AM16201821.6
156:00:00 AM16201821.6
166:30:00 AM16201821.6
177:00:00 AM44484649.6
187:30:00 AM51555356.6
198:00:00 AM86908891.6
208:30:00 AM89939194.6
219:00:00 AM111.5115.5113.5117.1
229:30:00 AM118122120123.6
2310:00:00 AM140144142145.6
2410:30:00 AM145.5149.5147.5151.1
2511:00:00 AM162.5166.5164.5168.1
2611:30:00 AM172.5176.5174.5178.1
2712:00:00 PM189.5193.5191.5195.1
2812:30:00 PM197.5201.5199.5203.1
291:00:00 PM209213211214.6
301:30:00 PM220.5224.5222.5226.1
312:00:00 PM231235233236.6
322:30:00 PM238242240243.6
333:00:00 PM285289287290.6
343:30:00 PM264268266269.6
354:00:00 PM266270268271.6
364:30:00 PM235.5239.5237.5241.1
375:00:00 PM235239237240.6
385:30:00 PM236.5240.5238.5242.1
396:00:00 PM227.5231.5229.5233.1
406:30:00 PM216220218221.6
417:00:00 PM200.5204.5202.5206.1
427:30:00 PM186.5190.5188.5192.1
438:00:00 PM182.5186.5184.5188.1
448:30:00 PM164.5168.5166.5170.1
459:00:00 PM151.5155.5153.5157.1
469:30:00 PM144148146149.6
4710:00:00 PM128.5132.5130.5134.1
4810:30:00 PM120124122125.6
4911:00:00 PM109113111114.6
5011:30:00 PM91959396.6
Page1_1
 
Upvote 0
It would look something like this.

Excel 2010
OPQRS
2TimeApr 20, 2013Apr 21, 2013Apr 22, 2013Apr 23, 2013
312:00:00 AM67.571.569.573.1
412:30:00 AM52565457.6
51:00:00 AM47514952.6
61:30:00 AM36403841.6
72:00:00 AM25292730.6
82:30:00 AM16201821.6
93:00:00 AM16201821.6
103:30:00 AM16201821.6
114:00:00 AM16201821.6
124:30:00 AM16201821.6
135:00:00 AM16201821.6
145:30:00 AM16201821.6
156:00:00 AM16201821.6
166:30:00 AM16201821.6
177:00:00 AM44484649.6
187:30:00 AM51555356.6
198:00:00 AM86908891.6
208:30:00 AM89939194.6
219:00:00 AM111.5115.5113.5117.1
229:30:00 AM118122120123.6
2310:00:00 AM140144142145.6
2410:30:00 AM145.5149.5147.5151.1
2511:00:00 AM162.5166.5164.5168.1
2611:30:00 AM172.5176.5174.5178.1
2712:00:00 PM189.5193.5191.5195.1
2812:30:00 PM197.5201.5199.5203.1
291:00:00 PM209213211214.6
301:30:00 PM220.5224.5222.5226.1
312:00:00 PM231235233236.6
322:30:00 PM238242240243.6
333:00:00 PM285289287290.6
343:30:00 PM264268266269.6
354:00:00 PM266270268271.6
364:30:00 PM235.5239.5237.5241.1
375:00:00 PM235239237240.6
385:30:00 PM236.5240.5238.5242.1
396:00:00 PM227.5231.5229.5233.1
406:30:00 PM216220218221.6
417:00:00 PM200.5204.5202.5206.1
427:30:00 PM186.5190.5188.5192.1
438:00:00 PM182.5186.5184.5188.1
448:30:00 PM164.5168.5166.5170.1
459:00:00 PM151.5155.5153.5157.1
469:30:00 PM144148146149.6
4710:00:00 PM128.5132.5130.5134.1
4810:30:00 PM120124122125.6
4911:00:00 PM109113111114.6
5011:30:00 PM91959396.6

<colgroup><col style="width: 25pxpx"><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Page1_1

Is this total from row 8 to 38 or your data are going beyond that?
(as I see you have anoth 20 April in row 41)
 
Upvote 0
The rows continue on and the dates also continue on as well. I need to know how many people I have working at each 30 minute interval for each day of the we across all departments combined. Does that make sense?
 
Upvote 0
OK - I think I am doing a bad job of explaining the problem. In Column A there is a list of dates. The same date may appear more than one time in column A. Under each date there will be a department. Each department will only appear one time under each date. (so for 4/21 department A shows up, then 4/22 it show up again) Underneath the Date\Department heading will be 24 hours of 30 minute intervals. I need to total up each interval under each relative date(regardless of the department). So for the date 4/21 I need to total up the everything attached to the 8:00 AM interval, then the 8:30 AM interval and so on. Am I making sense yet? Thanks!
 
Upvote 0
OK - I think I am doing a bad job of explaining the problem. In Column A there is a list of dates. The same date may appear more than one time in column A. Under each date there will be a department. Each department will only appear one time under each date. (so for 4/21 department A shows up, then 4/22 it show up again) Underneath the Date\Department heading will be 24 hours of 30 minute intervals. I need to total up each interval under each relative date(regardless of the department). So for the date 4/21 I need to total up the everything attached to the 8:00 AM interval, then the 8:30 AM interval and so on. Am I making sense yet? Thanks!

Does your data include every half hour interval of the day? Your first posting shows the first department starting at 7:30am and the next department on row 41 starting at 8:00am.
 
Upvote 0
If your data is sorted with the earliest dates at the top, then this should do it. You need a helper row in your summary, I used J2:K2
The formula in them is an array formula to be entered with Ctrl+Shift+Enter, not just Enter. When you do that Excel will put {} around the formula (don't type the {} yourself.

Excel Workbook
JK
2761048576
3**
4**
5**
6**
7Apr 20, 2013Apr 21, 2013
820
991
Sheet1


Test the formula on your data. I extended your data for testing, so you will not recognise the results presented
 
Upvote 0

Forum statistics

Threads
1,203,667
Messages
6,056,649
Members
444,880
Latest member
Kinger1968

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