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
 
It is multiplication of the values in the Staffed Time column by a value referenced by the absolute cell of V1.

There are a number of excellent YouTube channels that can teach you many of the basics of building excel formulas and working with it.
Look for ExcelIsFun (Excel Is Fun) and Mr. Excel channels.

I think it is great that you are using tables with your current level of expertise. Good job at pushing what you know and getting better!
 
Upvote 1

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
It is multiplication of the values in the Staffed Time column by a value referenced by the absolute cell of V1.

There are a number of excellent YouTube channels that can teach you many of the basics of building excel formulas and working with it.
Look for ExcelIsFun (Excel Is Fun) and Mr. Excel channels.

I think it is great that you are using tables with your current level of expertise. Good job at pushing what you know and getting better!
Thank you so much I'm going to keep trying, you've been a great inspiration thank you again so much for all your time!
 
Upvote 0
Thank you so much I'm going to keep trying, you've been a great inspiration thank you again so much for all your time!
It has been a pleasure! And welcome to the Mr. Excel forum.


There are forum participants and contributors that are much more adept at Excel than me. Particularly the ones with "Mr Excel MVP" on their profile buttons. I am here to learn, practice, and improve my skills as well. One thing that you should really try to learn is Power Query, and there are many Youtube videos featuring that as well.
 
Upvote 0
I've run into this issue, I can't figure out how to calculate this Sum of Occupancy column into a 2 digit percentage, am i missing a step here?

1681311883394.png
 
Upvote 0
Kelly, can you post an xl2bb miniworkbook?. I need to see what is buried in the formula for that column.
Hi awoohaw, unfortunately I receive that data as a pdf and not in a sheet, I can put that data in a sheet and send it, if that helps?
 
Upvote 0
I mean the formula that is in column sum of occupancy. How does that formula equal to 8.41416...
what are the raw values (and number formats) that are in the formula in that cell (or the source data if it is a pivot table).
 
Upvote 0
I mean the formula that is in column sum of occupancy. How does that formula equal to 8.41416...
what are the raw values (and number formats) that are in the formula in that cell (or the source data if it is a pivot table).
ohh yes ok, I'm sorry, I can't install it on my work computer I'll have to wait till I get home to use my computer I received some macro alert trying to install it, hope I don't get in trouble for trying

But I did try this, and you can correct me if I'm wrong but I switched the value field to Average instead of Sum and then selected Numbers Format, Percentages and removed the 2 places to zero for the value of 38% would that be accurate?
1681319357415.png
1681319469469.png
1681319537378.png
 
Last edited:
Upvote 0
I mean the formula that is in column sum of occupancy. How does that formula equal to 8.41416...
what are the raw values (and number formats) that are in the formula in that cell (or the source data if it is a pivot table).
I have this formula in column S =IFERROR(([@[ACD Time]]+[@[ACW Time]])/[@[Staffed Time]],0)
 
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)?)
 
Upvote 0

Forum statistics

Threads
1,215,335
Messages
6,124,326
Members
449,155
Latest member
ravioli44

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