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'm so sorry Awoohaw, I have to go back and really read some of the posts you may have already solved this, Thank you for being so patient with me!
Okay, so in the columns [ACD Time] and [ACW Time] can you change the format of them from TIME to GENERAL.
If any of the values there are greater than 1 or if the sum of them are greater than 1 then that could be your problem.
TIME and DATE values are numbers for instance:
2023-04-12​
45028​
A date with no time is a whole number
13:38​
0.568055556​
Time is a decimal of the day
2023-04-12 13:38​
45028.56806​
Date and time are added together.
If you want to report the time values as Hours/Minutes you need to do format the cells as Date/Time or do some arithmetic. As a matter of my personal practice, I always input time with a date value becuase 0.56805556 is really 13:38 on Jan 0, 1900 (you could say Dec 31 1899 but I don't think you can get excel to display it that way).

Anyway, what I'm trying to say is that dates and times are tricky to do math with an sum. Its for this reason a sample of the data in the two columns would be very helpful. (By the way, is this data in the other min worksheets you have posted (or even if I have posted)?)
I'm so sorry Awoohaw, I have to go back and really read some of the posts you may have already solved this, Thank you for being so patient with me! I will be back later tonight and I can place a sheet up, Thanks again
 
Upvote 0

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
i'm not sure I have the answer to that specific question. But, your mini worksheet will confirm. Thanks.

Until later. Best wishes.
 
Upvote 0
Okay, so in the columns [ACD Time] and [ACW Time] can you change the format of them from TIME to GENERAL.
If any of the values there are greater than 1 or if the sum of them are greater than 1 then that could be your problem.
TIME and DATE values are numbers for instance:
2023-04-12​
45028​
A date with no time is a whole number
13:38​
0.568055556​
Time is a decimal of the day
2023-04-12 13:38​
45028.56806​
Date and time are added together.
If you want to report the time values as Hours/Minutes you need to do format the cells as Date/Time or do some arithmetic. As a matter of my personal practice, I always input time with a date value becuase 0.56805556 is really 13:38 on Jan 0, 1900 (you could say Dec 31 1899 but I don't think you can get excel to display it that way).

Anyway, what I'm trying to say is that dates and times are tricky to do math with an sum. Its for this reason a sample of the data in the two columns would be very helpful. (By the way, is this data in the other min worksheets you have posted (or even if I have posted)?)
Hi Awoohaw,

I'm really worried the Occupancy (coumn S) isn't calculating correctly whe I try to highlight the whole column I see an average of 48.94% is that correct, or is my formula not calculating correctly?
1681343957265.png


Once the calulations are correct, can I add it to my whole sheet ? Thank you for all you help here is my mini sheet, I just nat to make sure I'm giving my boss accurate numbers

Test-3-Agents-2022-2023.xlsx
ABCDEFGHIJKLMNOPQRS
1DateYearStaffed TimeACD TimeACW TimeAgentRing TimeExtn In TimeExtn Out TimeAvail TimeAUX TimeACD CallsExtn In CallsExtn Out CallsAgentsAvg Handle TimeMonthDayutilizationOccupancy
21/3/202220227:57:022:35:101:00:47:08:41:00:00:00:003:37:030:35:212700AS00:08:00JanMon45.27%45.27%
31/4/202220228:05:452:56:321:16:32:07:26:00:00:07:263:07:540:37:212603AS00:09:44JanTue52.10%52.10%
41/5/202220228:11:123:24:011:23:31:06:53:00:00:04:052:51:340:25:122105AS00:13:42JanWed58.54%58.54%
51/6/202220228:09:043:19:231:57:55:06:35:00:00:20:002:15:220:29:1819010AS00:16:42JanThu64.88%64.88%
61/7/202220227:57:032:53:271:59:53:06:32:00:00:49:491:52:101:04:362205AS00:13:20JanFri61.49%61.49%
71/10/202220228:06:044:12:482:02:44:08:26:00:00:02:191:10:180:31:473501AS00:10:44JanMon77.26%77.26%
81/11/202220227:57:483:12:141:18:49:08:03:00:00:03:292:45:140:33:082402AS00:11:18JanTue56.73%56.73%
91/12/202220227:42:222:46:321:13:39:07:38:00:00:01:283:07:330:27:002301AS00:10:27JanWed51.95%51.95%
101/15/202220226:59:461:51:080:24:53:04:13:00:00:00:004:28:100:11:221600AS00:08:30JanSat32.40%32.40%
111/17/202220227:53:341:25:231:12:58:08:47:00:00:01:154:01:241:04:511501AS00:10:33JanMon33.44%33.44%
121/18/202220227:43:032:36:112:53:05:09:20:00:00:11:161:28:060:36:213005AS00:10:59JanTue71.11%71.11%
131/19/202220227:59:182:00:491:21:16:10:09:00:00:04:243:51:190:35:312904AS00:06:58JanWed42.16%42.16%
141/20/202220227:52:373:10:180:28:50:04:14:00:00:01:283:28:320:40:321002AS00:21:55JanThu46.37%46.37%
151/21/202220227:06:431:27:000:30:32:05:39:00:00:13:354:24:220:38:591504AS00:07:50JanFri27.54%27.54%
161/25/202220228:01:062:48:330:56:10:09:39:00:00:00:033:34:550:31:492501AS00:08:59JanTue46.71%46.71%
171/26/202220227:57:562:54:470:52:13:08:28:00:00:01:113:40:050:22:152102AS00:10:49JanWed47.50%47.50%
181/27/202220227:53:092:27:410:49:05:07:55:00:00:05:004:02:190:25:542002AS00:09:50JanThu41.59%41.59%
191/28/202220227:59:141:18:351:09:46:07:56:00:00:09:194:46:580:35:491802AS00:08:15JanFri30.96%30.96%
202/1/202220227:58:442:18:331:00:15:09:57:00:00:08:113:56:110:33:322806AS00:07:06FebTue41.53%41.53%
212/2/202220227:57:563:14:340:55:12:08:26:00:00:00:003:10:220:29:222500AS00:09:59FebWed52.26%52.26%
222/3/202220227:59:072:35:240:46:16:08:23:00:00:04:553:59:150:29:492501AS00:08:04FebThu42.09%42.09%
232/4/202220227:57:091:31:241:21:47:10:30:00:00:01:034:11:590:41:132301AS00:07:32FebFri36.30%36.30%
242/6/202220227:58:574:07:460:57:51:06:37:00:00:00:002:35:110:11:323500AS00:08:44FebSun63.81%63.81%
252/7/202220227:56:283:21:170:39:39:06:58:00:00:05:033:17:350:30:362303AS00:10:29FebMon50.57%50.57%
Agent Data
Cell Formulas
RangeFormula
O2:O25O2=IFERROR(([@[ACD Time]]+[@[ACW Time]])/[@[ACD Calls]],0)
P2:P25P2=TEXT(A2, "MMM")
Q2:Q25Q2=TEXT(A2, "DDD")
R2:S25R2=IFERROR(([@[ACD Time]]+[@[ACW Time]])/[@[Staffed Time]],0)
 

Attachments

  • 1681343597623.jpeg
    1681343597623.jpeg
    34.4 KB · Views: 10
Upvote 0
I'm really worried the Occupancy (coumn S) is calculating correctly whe I try to highlight the whole column I see an average of 40.94% is that correct, or is my formula not calculating correctly?
It is hard for me to know what you have. It looks like you have 84 rows in your picture. Can you make a smaller version of your worksheet, with maybe just 4 or 5 rows to compare the values?
 
Upvote 0
I'm not sure if this will help or not. But take a look:
Cell Formulas
RangeFormula
S2:S25S2=IFERROR(([@[ACD Time]]+[@[ACW Time]])/[@[Staffed Time]],0)
S26S26=SUBTOTAL(109,[Occupancy (hh:mm:ss)])
T2:T25T2=[@[Occupancy (hh:mm:ss)]]
T26T26=SUBTOTAL(109,[Occupancy (Decimal)])
T27T27=INT(Table1[[#Totals],[Occupancy (Decimal)]]*24) & ":" & TEXT(INT(MOD(Table1[[#Totals],[Occupancy (Decimal)]]*24,1)*60),"00")&":" & TEXT(ROUND(MOD(Table1[[#Totals],[Occupancy (Decimal)]]*24*60,1)*60,0),"00")
 
Upvote 0
It is hard for me to know what you have. It looks like you have 84 rows in your picture. Can you make a smaller version of your worksheet, with maybe just 4 or 5 rows to compare the values?
sure, I'm so sorry about that here this has just 5 lines

Test-3-Agents-2022-2023.xlsx
ABCDEFGHIJKLMNOPQRS
1DateYearStaffed TimeACD TimeACW TimeAgentRing TimeExtn In TimeExtn Out TimeAvail TimeAUX TimeACD CallsExtn In CallsExtn Out CallsAgentsAvg Handle TimeMonthDayutilizationOccupancy
21/3/202220227:57:022:35:101:00:47:08:41:00:00:00:003:37:030.022700AS00:08:00JanMon45.27%45.27%
31/4/202220228:05:452:56:321:16:32:07:26:00:00:07:263:07:540:37:212603AS00:09:44JanTue52.10%52.10%
41/5/202220228:11:123:24:011:23:31:06:53:00:00:04:052:51:340:25:122105AS00:13:42JanWed58.54%58.54%
51/6/202220228:09:043:19:231:57:55:06:35:00:00:20:002:15:220:29:1819010AS00:16:42JanThu64.88%64.88%
Agent Data
Cell Formulas
RangeFormula
O2:O5O2=IFERROR(([@[ACD Time]]+[@[ACW Time]])/[@[ACD Calls]],0)
P2:P5P2=TEXT(A2, "MMM")
Q2:Q5Q2=TEXT(A2, "DDD")
R2:S5R2=IFERROR(([@[ACD Time]]+[@[ACW Time]])/[@[Staffed Time]],0)
 
Upvote 0
thanks! did you look at rows 26/27 of the last post I made? It explains how time sums up.
 
Upvote 0
thanks! did you look at rows 26/27 of the last post I made? It explains how time sums up.
Yes i just looked at it but to be honest I don't understand it and what they are asking me for are pecentages, so you think the avaerge that I showed is wrong? I'm just curious to know if my formulas are calculating correctly
 
Upvote 0
oh wow. Okay. I thought you were trying to reconcile the time to a time value number.
but those cells are actually percentages not time values.
 
Upvote 0
This shows the numbers as aligning properly.

Book1
CDERST
1Staffed TimeACD TimeACW TimeutilizationOccupancy (hh:mm:ss)Occupancy (decimal)
207:57:0202:35:1001:00:4745.27%45.27%45.27%
308:05:4502:56:3201:16:3252.10%52.10%52.10%
408:11:1203:24:0101:23:3158.54%58.54%58.54%
508:09:0403:19:2301:57:5564.88%64.88%64.88%
6
7Staffed as decacd decimalacw decimal
80.3312731480.107754630.0422106480.4526937320.4526937320.452693732
90.3373263890.1225925930.0531481480.52098130.52098130.5209813
100.3411111110.1416782410.0579976850.5853691640.5853691640.585369164
110.339629630.1384606480.0818865740.6487868050.6487868050.648786805
12
13TRUETRUETRUE
14TRUETRUETRUE
15TRUETRUETRUE
16TRUETRUETRUE
kellym9236_3
Cell Formulas
RangeFormula
R2:S5R2=IFERROR(([@[ACD Time]]+[@[ACW Time]])/[@[Staffed Time]],0)
T2:T5T2=[@[Occupancy (hh:mm:ss)]]
C8:E11C8=C2
R8:T11R8=SUM($D8:$E8)/$C8
R13:T16R13=R2=R8
 
Upvote 0

Forum statistics

Threads
1,224,820
Messages
6,181,161
Members
453,021
Latest member
Justyna P

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