How can I calculate per hour, per day volumes if one or multiple days' data is selected?

louwen

New Member
Joined
Sep 17, 2014
Messages
9
hi. I have a scenario where i need to calculate the hourly and daily volume work effort of staff using specific criteria such as the days are 7 hours and days are 21 days in the month.

Easy enough i know, except i am using SLICERS to select the relevant month as well as the specific day in that month. This means that if I select one day only, the day data should only show that day and obviously the hourly average. But if I select multiple days in my SLICER I need some sort of formula to step in and then re-calculate the averages accordingly knowing that more than one day has been selected?
Below is an example of what I am looking at;

The Volume is for two days as selected via SLICER.



A
B
C
Actual Volume
Per Hour (7 hrs)
Per Day (21 days)
15

<tbody>
</tbody>
 
ok, now i am lost? Sorry, novice here that is still chuffed with myself that i got SLICER and VLOOKUP right.
 
Upvote 0

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Oh Ok,wait I see it now.

So by creating the table wit dates ad linking it to the slicer, soon as I select the relevant dates it changes it as well. This is then when the GETPIVOTDATA formula comes in?
 
Upvote 0

Forum statistics

Threads
1,215,326
Messages
6,124,268
Members
449,149
Latest member
mwdbActuary

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