Calculate % variance between 2 total columns in pivot table

richoking

New Member
Joined
Aug 27, 2018
Messages
1
I've tried searching for this specific problem on here and online, with no joy.

I have a bunch of projects laid out and pivoted in line with the below pivot table, showing me Hours Spent and Billable Hours for each day and then in total for the week. I would like to calculate a simple productivity % based on the Total columns only. I can do a Calculated Field but then this applies to every single day, and besides being messy is not useful info to me.

Any help appreciated.

[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]Mon
hr spent[/TD]
[TD]Mon
bill hrs[/TD]
[TD]Tue
hr spent[/TD]
[TD]Tue
bill hrs[/TD]
[TD]Wed
hr spent[/TD]
[TD]Wed
bill hrs[/TD]
[TD]Tot
hr spent[/TD]
[TD]Tot
bill hrs[/TD]
[TD]% vari[/TD]
[/TR]
[TR]
[TD]w/c 180806[/TD]
[TD]10[/TD]
[TD]8[/TD]
[TD]10[/TD]
[TD]8[/TD]
[TD]10[/TD]
[TD]8[/TD]
[TD]30[/TD]
[TD]24[/TD]
[TD]xxx[/TD]
[/TR]
[TR]
[TD]w/c 180813[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]10[/TD]
[TD]30[/TD]
[TD]30[/TD]
[TD]xxx[/TD]
[/TR]
[TR]
[TD]w/c 180820[/TD]
[TD]10[/TD]
[TD]2[/TD]
[TD]10[/TD]
[TD]2[/TD]
[TD]10[/TD]
[TD]2[/TD]
[TD]30[/TD]
[TD]6[/TD]
[TD]xxx[/TD]
[/TR]
[TR]
[TD]w/c 180827[/TD]
[TD]9[/TD]
[TD]9[/TD]
[TD]9[/TD]
[TD]9[/TD]
[TD]9[/TD]
[TD]9[/TD]
[TD]27[/TD]
[TD]27[/TD]
[TD]xxx[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
can you provide a table sample of what your source data looks like, by recreating it in the Go Advanced feature?
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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