Excel Percentage formulas and Pivot table chart displays

kellym9236

New Member
Joined
Feb 16, 2023
Messages
30
Office Version
  1. 365
Platform
  1. Windows
Hello everyone,

I am new to this so please bare with me and I apologize in advance for my lack of knowledge, I have attached a sheet here and what I've been trying to do is calculate occupancy rate
by using a formula I found online sum of handle time (O2) (R2) (S2) (T2) to see my formulas I don't know if they are even right cause i can't seem to create a pivotal chart or add a simple chart and show the occupancy rate percentages or the utilization rate percentages in a column or line chart, and also add the columns to get an avaerage percetgaes of all the agents, any help would be greatly appreciated My boss has tasked me to figure this out and I don't know where to start troubleshooting what I'm doing

thank you in advance for any help or direction and most importantly your time

kelly

Test1.xlsx
EFGHIJKLMNOPQRST
1ACW TimeAgent1Extn In TimeExtn Out TimeAvail TimeAUX TimeACD CallsExtn In CallsExtn Out CallsAgent12Avg Handle TimeMonthDayutilizationhandle+AvalOccupancy
21:00:47:08:41:00:00:00:003:37:030:35:212700Agent111:24JanMon36.75%79.25%60.02%
31:16:32:07:26:00:00:07:263:07:540:37:212603Agent112:11JanTue41.66%76.49%66.42%
41:23:31:06:53:00:00:04:052:51:340:25:122105Agent112:50JanWed47.33%75.78%70.62%
51:57:55:06:35:00:00:20:002:15:220:29:1819010Agent113:19JanThu48.96%72.44%76.62%
61:59:53:06:32:00:00:49:491:52:101:04:362205Agent112:45JanFri44.68%67.80%78.38%
72:02:44:08:26:00:00:02:191:10:180:31:473501Agent114:19JanMon60.53%67.87%87.95%
81:18:49:08:03:00:00:03:292:45:140:33:082402Agent112:21JanTue45.71%73.80%69.82%
91:13:39:07:38:00:00:01:283:07:330:27:002301Agent111:34JanWed41.13%75.23%64.10%
100:24:53:04:13:00:00:00:004:28:100:11:221600Agent18:59JanSat28.20%87.18%42.94%
111:12:58:08:47:00:00:01:154:01:241:04:511501Agent110:15JanMon23.10%81.97%52.18%
122:53:05:09:20:00:00:11:161:28:060:36:213005Agent113:09JanTue45.75%65.98%83.08%
131:21:16:10:09:00:00:04:243:51:190:35:312904Agent111:13JanWed30.85%81.11%57.65%
140:28:50:04:14:00:00:01:283:28:320:40:321002Agent111:10JanThu42.27%77.67%59.98%
150:30:32:05:39:00:00:13:354:24:220:38:591504Agent18:46JanFri22.51%86.77%42.15%
160:56:10:09:39:00:00:00:033:34:550:31:492501Agent111:37JanTue38.93%79.24%61.10%
170:52:13:08:28:00:00:01:113:40:050:22:152102Agent111:34JanWed40.20%79.92%60.34%
180:49:05:07:55:00:00:05:004:02:190:25:542002Agent110:57JanThu34.62%82.52%55.36%
191:09:46:07:56:00:00:09:194:46:580:35:491802Agent110:11JanFri21.24%89.39%47.52%
201:00:15:09:57:00:00:08:113:56:110:33:322806Agent111:09FebTue33.12%81.76%56.83%
210:55:12:08:26:00:00:00:003:10:220:29:222500Agent112:00FebWed44.54%76.44%65.42%
220:46:16:08:23:00:00:04:553:59:150:29:492501Agent111:11FebThu35.65%82.26%56.67%
231:21:47:10:30:00:00:01:034:11:590:41:132301Agent110:39FebFri24.83%83.81%52.98%
240:57:51:06:37:00:00:00:002:35:110:11:323500Agent113:00FebSun55.75%74.07%73.14%
250:39:39:06:58:00:00:05:033:17:350:30:362303Agent111:48FebMon45.00%77.10%63.84%
260:29:20:08:01:00:00:13:474:19:390:30:212004Agent110:40FebTue33.13%85.02%52.30%
270:47:30:07:54:00:00:10:584:45:27033:022203Agent110:24FebWed25.72%89.07%48.72%
280:58:24:06:19:00:00:28:314:19:510:42:581803Agent110:49FebThu28.51%85.11%53.01%
291:05:39:04:22:00:00:00:002:33:260:21:08600Agent16:58FebFri20.66%65.72%44.27%
300:37:30:07:13:00:00:12:595:23:220:25:041903Agent19:41FebTue20.20%95.98%42.09%
310:36:51:08:21:00:00:04:364:44:380:36:512302Agent110:05FebWed25.18%89.05%47.25%
320:42:30:08:09:00:00:00:004:29:140:31:512400Agent110:21FebThu28.29%86.48%49.93%
331:22:56:05:08:00:00:01:174:11:480:23:581902Agent111:06FebFri30.02%84.07%55.09%
340:43:47:08:23:00:00:00:314:07:210:42:482801Agent114:29FebMon44.66%88.85%68.00%
351:15:30:07:47:00:00:24:013:54:010:38:162506Agent111:07FebTue30.93%81.42%56.97%
360:43:24:06:50:00:00:00:004:26:340:31:402100Agent110:40FebWed30.31%86.10%51.69%
370:57:00:06:16:00:00:00:004:27:060:35:202100Agent110:29FebThu27.06%86.15%50.76%
380:55:48:06:14:00:00:20:263:34:440:51:121501Agent110:11FebFri30.82%77.58%54.72%
390:24:01:03:58:00:00:00:004:50:220:10:011700Agent18:39FebSat23.57%91.97%39.22%
400:50:02:08:39:00:00:03:503:42:010:31:543103Agent111:38MarTue38.87%80.29%60.41%
410:38:47:06:10:00:00:00:474:24:400:32:392503Agent111:16MarWed33.57%86.10%54.54%
420:32:08:05:40:00:00:00:034:58:510:31:192201Agent110:05MarThu25.18%91.40%46.02%
431:21:35:06:25:00:00:00:004:19:100:30:271900Agent110:46MarFri26.69%84.98%52.84%
440:12:12:01:48:00:00:01:585:04:240:12:51802Agent17:02MarSat15.81%101.43%28.90%
450:09:50:01:27:00:00:09:545:37:340:51:20602Agent16:33MarSun5.45%113.04%24.20%
461:31:25:07:37:00:00:19:251:47:530:23:223603Agent113:35MarMon58.22%69.88%81.08%
470:48:06:07:37:00:00:12:234:06:380:29:5526012Agent111:02MarTue33.65%83.23%55.24%
481:27:58:06:32:00:00:38:333:46:140:32:412106Agent111:23MarWed32.45%80.57%58.95%
490:37:36:04:52:00:00:41:244:48:071:10:011705Agent19:35MarThu18.69%90.03%44.38%
501:10:53:05:35:00:00:14:124:35:520:42:341604Agent110:18MarFri22.61%87.55%49.10%
510:26:39:03:59:00:00:02:174:18:270:15:181800Agent19:13MarSat29.83%85.13%45.15%
520:53:05:08:28:00:00:02:234:13:510:30:582704Agent110:53MarMon31.11%84.22%53.85%
530:33:58:04:59:00:00:05:374:47:300:30:431604Agent110:14MarThu27.58%89.46%47.72%
540:24:39:04:30:00:00:01:115:40:500:25:051501Agent19:18MarFri18.71%99.80%38.89%
550:33:43:04:54:00:00:04:124:35:380:05:542602Agent111:02MarSat35.58%87.61%52.50%
560:56:49:06:05:00:00:03:063:43:340:26:512101Agent111:25MarMon38.19%80.22%59.37%
570:54:55:05:50:00:00:12:204:44:200:45:571703Agent110:06MarTue22.23%89.00%47.29%
581:23:22:05:34:00:00:19:034:31:400:34:102002Agent110:37MarWed23.76%86.89%50.97%
590:48:31:05:32:00:00:21:333:45:120:49:041704Agent111:01MarThu34.55%79.98%57.44%
601:06:09:06:05:00:00:12:334:25:100:41:531903Agent110:05MarFri23.17%85.84%48.95%
610:52:08:07:44:00:00:00:073:19:420:30:383203Agent112:00MarMon43.48%77.76%64.37%
620:37:21:06:08:00:00:06:564:45:040:27:332103Agent110:29MarWed28.47%89.00%49.08%
630:36:09:05:50:00:00:32:563:56:200:50:042306Agent110:59MarThu34.13%81.63%56.09%
641:26:23:04:30:00:00:09:504:27:470:27:552007Agent110:43AprFri25.13%86.30%51.79%
651:06:17:03:33:00:00:23:333:48:260:05:481903Agent110:30AprSun35.52%80.02%54.75%
660:54:45:07:13:00:00:53:122:45:171:18:063409Agent112:21AprMon42.42%73.80%69.81%
670:56:30:05:41:00:00:21:533:44:320:46:332505Agent111:37AprTue36.09%80.64%60.10%
681:25:10:06:32:00:00:05:183:36:530:24:462306Agent111:46AprWed36.74%79.76%61.52%
690:45:30:05:29:00:00:04:363:34:150:24:451806Agent111:00AprThu39.84%78.31%58.60%
700:37:18:04:37:00:00:12:064:34:160:38:002206Agent110:26AprTue28.43%87.28%49.86%
710:53:13:06:01:00:00:09:584:39:020:30:382605Agent110:24AprWed26.11%88.05%49.28%
720:50:51:03:48:00:00:14:204:29:000:27:181702Agent110:46AprThu30.57%86.50%51.89%
730:55:52:03:39:00:00:21:244:40:230:38:421705Agent110:20AprFri24.89%88.28%48.77%
740:33:18:04:02:00:00:03:405:49:190:04:241802Agent19:43AprSun20.87%100.39%40.37%
751:09:12:06:12:00:00:09:433:09:510:30:232903Agent112:25AprMon44.33%77.23%67.02%
760:46:29:04:42:00:00:20:284:28:140:39:212103Agent110:21AprTue27.41%86.32%50.01%
771:18:50:05:17:00:00:28:153:04:100:43:4825011Agent112:02AprWed40.57%75.68%66.34%
780:46:35:04:54:00:00:06:464:06:260:31:302402Agent111:09AprThu34.77%83.30%55.81%
790:50:44:04:45:00:00:07:274:38:370:44:251803Agent110:18AprFri24.73%88.00%48.77%
800:33:18:03:58:00:00:01:496:05:100:09:242101Agent19:23AprSun16.45%103.94%37.64%
811:00:15:06:13:00:00:11:183:08:300:40:063106Agent111:59AprMon42.66%76.15%65.58%
820:52:17:04:56:00:00:15:213:49:360:43:1825012Agent111:10AprTue34.40%80.80%57.59%
830:52:06:05:51:00:00:31:343:49:550:51:292908Agent110:50AprWed31.78%80.52%56.13%
840:50:03:05:54:00:00:01:333:34:440:26:372701Agent111:46AprThu41.63%79.45%61.74%
850:42:16:03:59:00:00:14:433:50:530:16:232004Agent111:39AprFri41.92%81.59%59.55%
Agent Data
Cell Formulas
RangeFormula
O2:O85O2=C2+D2+E2-I2/K2
P2:P85P2=TEXT(A2, "MMM")
Q2:Q85Q2=TEXT(A2, "DDD")
R2:R85R2=E2+D2/C2
S2:S85S2=O2+I2/O2
T2:T85T2=O2/S2
 
I like that you made the occpancy time, how did you do that? that may work better, what I was trying to do is When I create the pivoit table the Occupancy rate doesn't show in percentages, I'm trying to figure out how to get the Occupancy to display as a percentage in a chart, for example in the original data sheet the Row 2 column R displays 38.78% but when I create the pivota table the same valuse displays as 0.387830431 so is the formula I'm using to calculate Occupancy wrong? I'm using (ACD Time+ACW Time) Divided by Staffed Time, But maybe showing the time for Occupancy and the percentage may work better, would be nice to have both, how did you covert to Time for Occupancy? Thank you for all your Help!!
 
Upvote 0

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
@kellym9236 , 38.78% and 0.387830431 are the same number. It is just that one is in the PERCENTAGE (rounded to 2 decimals) and one is problably in the general format. In your pivot table, go to "Value Field Settings" (right click any value in the column you want to format) and click number format in the dialog box that pops up.


regarding the pct vs decimal format, you can see that the same formula is in the two Utilization Columns in the table:

mr excel questions 22.xlsm
ABCDESTUVW
1Estimation %:0.8
2
3DateYearStaffed TimeACD TimeACW TimeUtilization (Decimal)Utilization (Pct)handle+AvalOccupancy2Estimated Occupancy
43/1/2023202307:27:0102:03:5400:49:280.38783043138.78%19:21:2500:00:1605:57:37
53/2/2023202307:37:4302:20:4801:10:040.46069256846.07%06:32:1400:00:2406:06:10
63/3/2023202306:24:2501:03:5400:49:230.29468892329.47%07:33:0000:00:1505:07:32
73/6/2023202307:47:4703:25:1001:41:280.65550290465.55%02:19:4200:00:3706:14:14
83/7/2023202307:21:3601:47:3401:04:580.39070048339.07%09:40:3700:00:1805:53:17
93/8/2023202307:37:0002:41:1401:02:070.48873085348.87%19:40:2300:00:3406:05:36
103/9/2023202307:21:0101:47:0601:14:560.41275839941.28%03:55:5000:00:2605:52:49
113/10/2023202306:38:2301:48:3801:15:330.46232690546.23%06:30:3400:00:2305:18:42
12
13Row LabelsSum of Utilization (Decimal)Sum of Utilization (Pct)
143/1/20230.3878304310.387830431
153/10/20230.4623269050.462326905
163/2/20230.4606925680.460692568
173/3/20230.2946889230.294688923
183/6/20230.6555029040.655502904
193/7/20230.3907004830.390700483
203/8/20230.4887308530.488730853
213/9/20230.4127583990.412758399
22Grand Total3.5532314663.553231466
23
kellym9236
Cell Formulas
RangeFormula
S4:T11S4=([@[ACD Time]]+[@[ACW Time]])/[@[Staffed Time]]
U4:U11U4=O4+I4/O4
V4:V11V4=O4/U4
W4:W11W4=[@[Staffed Time]]*$V$1



Here is how to format the pivot columns:

1681171369559.png
 
Upvote 0
Thank you, That worked great , one more question If I can, how did you get the double zeros in the Agent Ring time, Extn In Time and Extn out time, In your screen show above you show

1681172280440.png

How did you get those 00: I couldn't figure that out in my sheet, Thank you
 
Upvote 0
well, I don't know how you got a text value there in the first place, it seemed very weird to see things like " :06:13 " which is pretty strange format for a number (time is a number), and its a weird format for text. So, I just figured it was a number entered as a strange text representation of a time, and to convert that to a number I used the
TIMEVALUE function, which if you have a time in a text format, for instance 11:15:25 (as text, not number) you would convert it to text like this:
Excel Formula:
=TIMEVALUE("11:15:25")

But your text was a little tricky as you did not have the hours amount in front of the first colon. So I concatenated the text "00" in front of the text in the cell. So, if cell G3 had ":06:13", I assumed it was 6 minutes and 13 seconds.
So in another cell somewhere in the workbook I did this formula:
Excel Formula:
=TIMEVALUE("00" & G3)
which excel then converts to this:
Excel Formula:
TIMEVALUE("00:06:13")
Which then converts it into the value of that time.
I then copy and pasted as values into cell G3.
(the cell may not have been in the correct time format, it may have looked like this: = 0.00431713, which is the decimal value of 00:06:13.)
If it was just a decimal value, then you would need to format the cell as TIME.
 
Upvote 0
Solution
well, I don't know how you got a text value there in the first place, it seemed very weird to see things like " :06:13 " which is pretty strange format for a number (time is a number), and its a weird format for text. So, I just figured it was a number entered as a strange text representation of a time, and to convert that to a number I used the
TIMEVALUE function, which if you have a time in a text format, for instance 11:15:25 (as text, not number) you would convert it to text like this:
Excel Formula:
=TIMEVALUE("11:15:25")

But your text was a little tricky as you did not have the hours amount in front of the first colon. So I concatenated the text "00" in front of the text in the cell. So, if cell G3 had ":06:13", I assumed it was 6 minutes and 13 seconds.
So in another cell somewhere in the workbook I did this formula:
Excel Formula:
=TIMEVALUE("00" & G3)
which excel then converts to this:
Excel Formula:
TIMEVALUE("00:06:13")
Which then converts it into the value of that time.
I then copy and pasted as values into cell G3.
(the cell may not have been in the correct time format, it may have looked like this: = 0.00431713, which is the decimal value of 00:06:13.)
If it was just a decimal value, then you would need to format the cell as TIME.
You have been Amazing Awoohaw, Thank you so much for al of your help and Especailly your Time!! I can't Thank You Enough!!!
 
Upvote 0
well, I don't know how you got a text value there in the first place, it seemed very weird to see things like " :06:13 " which is pretty strange format for a number (time is a number), and its a weird format for text. So, I just figured it was a number entered as a strange text representation of a time, and to convert that to a number I used the
TIMEVALUE function, which if you have a time in a text format, for instance 11:15:25 (as text, not number) you would convert it to text like this:
Excel Formula:
=TIMEVALUE("11:15:25")

But your text was a little tricky as you did not have the hours amount in front of the first colon. So I concatenated the text "00" in front of the text in the cell. So, if cell G3 had ":06:13", I assumed it was 6 minutes and 13 seconds.
So in another cell somewhere in the workbook I did this formula:
Excel Formula:
=TIMEVALUE("00" & G3)
which excel then converts to this:
Excel Formula:
TIMEVALUE("00:06:13")
Which then converts it into the value of that time.
I then copy and pasted as values into cell G3.
(the cell may not have been in the correct time format, it may have looked like this: = 0.00431713, which is the decimal value of 00:06:13.)
If it was just a decimal value, then you would need to format the cell as TIME.
One last quetion, do you know where I can find a table of percentages vs time for example, I've seen online they mention Occupancy of 80-85% represents an agent will be on the phones for 51 minutes out of 60 minutes, what would the time value be for 30,40 50, 60 and 70 percent? do you know how I can calulate this? Thank you
 
Upvote 0
I have that already done for you as well in cell V1. When you change the value there (.80 = 80%) to another number it will update the values in column V with that percentage.
 
Upvote 0
I have that already done for you as well in cell V1. When you change the value there (.80 = 80%) to another number it will update the values in column V with that percentage.
Hi Awoohaw, can you send me the sheet you have back so I can download it and take a look at what you've done Please!! Thank you
 
Upvote 0
Upvote 0
Is this what you need:
mr excel questions 23.xlsm
CUVWX
1Estimation %:0.8
2
3Staffed Timehandle+AvalOccupancy2Estimated Occupancy
407:27:0119:21:2500:00:1605:57:37
507:37:4306:32:1400:00:2406:06:10
606:24:2507:33:0000:00:1505:07:32
707:47:4702:19:4200:00:3706:14:14
807:21:3609:40:3700:00:1805:53:17
907:37:0019:40:2300:00:3406:05:36
1007:21:0103:55:5000:00:2605:52:49
1106:38:2306:30:3400:00:2305:18:42
12
kellym9236
Cell Formulas
RangeFormula
U4:U11U4=O4+I4/O4
V4:V11V4=O4/U4
W4:W11W4=[@[Staffed Time]]*$V$1
I think so? Thank you, I will try and compare to my sheet to figure out where those formulas go, what is kind of formula is this? =[@[Staffed Time]]*$V$1
 
Upvote 0

Forum statistics

Threads
1,223,893
Messages
6,175,240
Members
452,621
Latest member
Laura_PinksBTHFT

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