Pivot tables and Slicers

Kellym923

New Member
Joined
Mar 16, 2025
Messages
1
Office Version
  1. 365
Platform
  1. Windows
I'm trying calculate occupancy rate in a pivot table, when remove an agent from a slicer the occupancy rate is not going up, rather it's going down, seems that it's not maintaing the over all work load and when I remove an agent it is also removing the workload associated with that agent, I'm trying to determine how much of increase I will have by removing an agent, does anyone how I can fix this? Thanks for any help or direction

kelly
 
I didn't use a pivot table, because I hate them, and 365 is good without them. I tie a slicer to a table, and add a 'visible?' column to it with the Aggregate function that is set to ignore hidden values. Anyway, it only counts visible agents, but keeps the total hours. Is this along the lines of what you are looking for?

1742923346203.png

MrExcelPlayground24.xlsx
ABC
1AgentWorkloadvisible?
2Jamie1001
3Fred901
4Harry801
5Mary701
6Sally601
7
8
9
10All Hours5
11400Jamie
12Fred
13OccupancyHarry
1480.0Mary
15Sally
Sheet9
Cell Formulas
RangeFormula
C2:C6C2=AGGREGATE(3,5,[@Agent])
C10C10=SUM(Table5[visible?])
B11B11=SUM(Table5[Workload])
C11:C15C11=FILTER(Table5[Agent],Table5[visible?])
B14B14=B11/C10
Dynamic array formulas.
 
Upvote 0

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