Time in pivot table issue

perkinsr1

New Member
Joined
Apr 24, 2016
Messages
17
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi folks,
I hope you are all well? I am having an issue with my pivot table, I have times in my raw data and I want to work out what the % of the columns F to O against column D, When I try I have converted it to different formats but either get a 1 or 24:00 so not able to convert to a %.

I hope this makes sense and I have added a picture, any help would be great.

1593933018508.png
1593933111794.png
1593933180765.png


1593933249569.png


Thanks in advance

Rob
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Hi, it's a bit difficult with pictures... Consider using the XL2BB add-on to post sample data.

Seems you are counting the Time Calc Management Time. the result 1 suggest there is only 1 occurrence per name per week. 24:00 is returned, because the field is a time.
Not clear what's the percentage you are after. If it is the % of the column total then you might need to use SUM and show result as % of Columns.
1593948790905.png
 
Upvote 0
Hiya,
Sorry, I have a few option in the data, the % columns I have worked out the % of time but it will not pull the answer through to the pivot table, the time calc was a suggestion but that hasn't worked, I have attached the data I am using.
I a simple way, I am after the percentage of time between columns F to O individually against the time in column D

So time spent in "Training" against "Planned HH:MM:SS, this will allow me to get their % of "productive time" I need

Hope this helps?

Adherence Trend v2.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAO
1WeekTeam LeaderAgent NamePlanned HH:MM:SSLogon HH:MM:SSProd Aux HH:MM:SSBackOffice HH:MM:SSEcomms HH:MM:SSLive Chat HH:MM:SSOutbound HH:MM:SSQ & A HH:MM:SSUnProd HH:MM:SSManagement Time HH:MM:SSSystem Issues HH:MM:SSTraining HH:MM:SSOffsite%STA%LTA%ST Sick%Holiday%Prod Aux%BackOffice%Ecomms%Live Chat%Outbound%Q & A%UnProd%Management Time%System Issues%Training%Time calc PlannedTime Calc Prod AuxTime Calc Back OfficeTime Calc EcommsTime calc Live chatTime Calc OutboundTime Calc Q&ATime Calac Un ProdTime Calc Management TimeTime Calc System IssuesTime Calc Training
2wk04Melissa FlatleyShawn Hodson58:00:0010:12:480:00:000:00:000:00:000:00:000:00:000:00:009:58:199:58:190:00:000:00:000.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%17.19%17.19%0.00%0.00%10:00:0000:00:0000:00:0000:00:0000:00:0000:00:0000:00:0009:58:1909:58:1900:00:0000:00:00
3wk04Wendy JonesLouise Fillingham21:00:0017:47:383:50:353:50:350:00:000:00:000:00:000:00:0013:25:258:48:420:00:004:36:439.50%0.00%0.00%0.00%9.50%18.30%18.30%0.00%0.00%0.00%0.00%63.92%41.96%0.00%21.96%21:00:0003:50:3503:50:3500:00:0000:00:0000:00:0000:00:0013:25:2508:48:4200:00:0004:36:43
4wk04Jon DaviesEmma Baker54:00:0018:57:120:00:000:00:000:00:000:00:000:00:000:00:007:00:136:53:070:07:060:00:00100.00%95.40%0.00%0.00%4.60%0.00%0.00%0.00%0.00%0.00%0.00%12.97%12.75%0.22%0.00%06:00:0000:00:0000:00:0000:00:0000:00:0000:00:0000:00:0007:00:1306:53:0700:07:0600:00:00
5wk04Ashley CloughCharlie Hardy49:00:007:24:370:00:000:00:000:00:000:00:000:00:000:00:006:23:446:23:440:00:000:00:0085.70%15.30%0.00%0.00%70.40%0.00%0.00%0.00%0.00%0.00%0.00%13.05%13.05%0.00%0.00%01:00:0000:00:0000:00:0000:00:0000:00:0000:00:0000:00:0006:23:4406:23:4400:00:0000:00:00
6wk04Alison BarnesDanielle Couzens30:00:0043:55:5039:53:4739:53:470:00:000:00:000:00:000:00:004:01:334:01:330:00:000:00:000.00%0.00%0.00%0.00%0.00%132.99%132.99%0.00%0.00%0.00%0.00%13.42%13.42%0.00%0.00%06:00:0015:53:4715:53:4700:00:0000:00:0000:00:0000:00:0004:01:3304:01:3300:00:0000:00:00
7wk04Alison BarnesMichelle Peers35:00:0037:04:510:00:000:00:000:00:000:00:000:00:000:00:0036:55:2736:55:270:00:000:00:000.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%105.50%105.50%0.00%0.00%11:00:0000:00:0000:00:0000:00:0000:00:0000:00:0000:00:0012:55:2712:55:2700:00:0000:00:00
8wk04Audra TimmsCarol Grace35:00:0034:34:410:00:000:00:000:00:000:00:000:00:000:00:005:57:153:51:082:06:070:00:007.10%0.00%0.00%0.00%7.10%0.00%0.00%0.00%0.00%0.00%0.00%17.01%11.01%6.01%0.00%11:00:0000:00:0000:00:0000:00:0000:00:0000:00:0000:00:0005:57:1503:51:0802:06:0700:00:00
9wk04Scott Butler Christopher Bellis35:00:0037:14:040:00:120:00:000:00:000:00:000:00:120:00:003:38:303:36:330:01:570:00:000.00%0.00%0.00%0.00%0.00%0.01%0.00%0.00%0.00%0.01%0.00%10.40%10.31%0.09%0.00%11:00:0000:00:1200:00:0000:00:0000:00:0000:00:1200:00:0003:38:3003:36:3300:01:5700:00:00
10wk04Rebecca CairnsSam Macfarlane47:00:0049:29:381:07:450:36:130:00:000:00:000:31:320:00:002:31:192:09:320:00:000:21:470.00%0.00%0.00%0.00%0.00%2.40%1.28%0.00%0.00%1.12%0.00%5.37%4.59%0.00%0.77%23:00:0001:07:4500:36:1300:00:0000:00:0000:31:3200:00:0002:31:1902:09:3200:00:0000:21:47
11wk04Alison BarnesHeather Grant25:00:006:10:480:00:000:00:000:00:000:00:000:00:000:00:005:52:212:52:230:00:002:59:5864.00%24.00%0.00%0.00%40.00%0.00%0.00%0.00%0.00%0.00%0.00%23.49%11.49%0.00%12.00%01:00:0000:00:0000:00:0000:00:0000:00:0000:00:0000:00:0005:52:2102:52:2300:00:0002:59:58
12wk04Scott Butler Ben Catton24:00:0024:13:000:00:000:00:000:00:000:00:000:00:000:00:002:39:542:39:540:00:000:00:000.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%11.10%11.10%0.00%0.00%00:00:0000:00:0000:00:0000:00:0000:00:0000:00:0000:00:0002:39:5402:39:5400:00:0000:00:00
13wk04Chris CarneyAnn Barwise26:00:0010:11:390:00:000:00:000:00:000:00:000:00:000:00:002:41:532:37:230:04:300:00:000.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%10.38%10.09%0.29%0.00%02:00:0000:00:0000:00:0000:00:0000:00:0000:00:0000:00:0002:41:5302:37:2300:04:3000:00:00
14wk04Ben LudgateLynn Lightfoot23:00:005:06:201:38:371:38:370:00:000:00:000:00:000:00:002:37:222:37:220:00:000:00:000.00%0.00%0.00%0.00%0.00%7.15%7.15%0.00%0.00%0.00%0.00%11.40%11.40%0.00%0.00%23:00:0001:38:3701:38:3700:00:0000:00:0000:00:0000:00:0002:37:2202:37:2200:00:0000:00:00
15wk04Angie NoscoeJessica O'Brien24:00:0017:37:240:11:000:00:000:00:000:00:000:11:000:00:002:38:572:34:100:04:470:00:0025.00%0.00%0.00%25.00%0.00%0.76%0.00%0.00%0.00%0.76%0.00%11.04%10.71%0.33%0.00%00:00:0000:11:0000:00:0000:00:0000:00:0000:11:0000:00:0002:38:5702:34:1000:04:4700:00:00
16wk04Angie NoscoeJacob Samuel24:00:0015:26:420:00:000:00:000:00:000:00:000:00:000:00:002:26:332:26:330:00:000:00:0033.30%0.00%0.00%0.00%33.30%0.00%0.00%0.00%0.00%0.00%0.00%10.18%10.18%0.00%0.00%00:00:0000:00:0000:00:0000:00:0000:00:0000:00:0000:00:0002:26:3302:26:3300:00:0000:00:00
17wk04Sue CaineElaine Quirk35:00:0037:06:2128:44:1328:44:130:00:000:00:000:00:000:00:002:23:412:23:410:00:000:00:000.00%0.00%0.00%0.00%0.00%82.11%82.11%0.00%0.00%0.00%0.00%6.84%6.84%0.00%0.00%11:00:0004:44:1304:44:1300:00:0000:00:0000:00:0000:00:0002:23:4102:23:4100:00:0000:00:00
18wk04Alex CarrollJames Darville27:00:0031:37:4522:14:250:00:000:00:000:00:000:00:000:00:003:25:362:18:130:00:001:07:230.00%0.00%0.00%0.00%0.00%82.37%0.00%0.00%0.00%0.00%0.00%12.69%8.53%0.00%4.16%03:00:0022:14:2500:00:0000:00:0000:00:0000:00:0000:00:0003:25:3602:18:1300:00:0001:07:23
19wk04Sarah DaviesEstelle King30:30:0023:40:020:52:430:00:000:00:000:00:000:52:430:00:002:11:202:11:180:00:020:00:0026.20%26.20%0.00%0.00%0.00%2.88%0.00%0.00%0.00%2.88%0.00%7.18%7.17%0.00%0.00%06:30:0000:52:4300:00:0000:00:0000:00:0000:52:4300:00:0002:11:2002:11:1800:00:0200:00:00
20wk04Hannah ListerKaren Davies26:30:0029:31:590:00:000:00:000:00:000:00:000:00:000:00:0024:19:0511:50:200:00:0012:28:450.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%0.00%91.77%44.68%0.00%47.09%02:30:0000:00:0000:00:0000:00:0000:00:0000:00:0000:00:0000:19:0511:50:2000:00:0012:28:45
Shrinkage Raw Data
Cell Formulas
RangeFormula
U2:U20U2=([@[Prod Aux HH:MM:SS]]/[@[Planned HH:MM:SS]])
V2:V20V2=([@[BackOffice HH:MM:SS]]/[@[Planned HH:MM:SS]])
W2:W20W2=([@[Ecomms HH:MM:SS]]/[@[Planned HH:MM:SS]])
X2:X20X2=([@[Live Chat HH:MM:SS]]/[@[Planned HH:MM:SS]])
Y2:Y20Y2=([@[Outbound HH:MM:SS]]/[@[Planned HH:MM:SS]])
Z2:Z20Z2=([@[Q & A HH:MM:SS]]/[@[Planned HH:MM:SS]])
AA2:AA20AA2=([@[UnProd HH:MM:SS]]/[@[Planned HH:MM:SS]])
AB2:AB20AB2=([@[Management Time HH:MM:SS]]/[@[Planned HH:MM:SS]])
AC2:AC20AC2=([@[System Issues HH:MM:SS]]/[@[Planned HH:MM:SS]])
AD2:AD20AD2=([@[Training HH:MM:SS]]/[@[Planned HH:MM:SS]])
AE2:AE20AE2=D2
AF2:AO20AF2=F2
B2:B20B2=INDEX(VLookup!$1:$1,SUMPRODUCT(MAX((VLookup!$A$1:$CH$17='Shrinkage Raw Data'!C2)*(COLUMN(VLookup!$A$1:$CH$17))))-COLUMN(VLookup!$1:$1)+1)
 
Upvote 0
Hi thanks for the data, that really helps.

The way I understand (If I'm way off, I apologize) and see the data, is you have all those % in your data table calculated (columns U:AD?).
So why are you no using those fields in your pivot? Or are you calculating this per Team Lead, in that case those % are off?
 
Upvote 0
Hiya, thanks for the reply,
When I use the % data I get the below error:
1593981177725.png


xl2bb.xlam
CD
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Sheet1
 
Upvote 0

Forum statistics

Threads
1,214,918
Messages
6,122,243
Members
449,075
Latest member
staticfluids

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