Pivot Table

faisus

New Member
Joined
Jul 8, 2012
Messages
48
Office Version
  1. 365
Platform
  1. Windows
Hello people, hope all are doing good. I have a query in regards to pivot table. I have below table as data

1671683379759.png


Ratio is SP/GP.

When i do pivot, i require ratio to be shown as 80% for the whole Alpha group.

1671683462863.png


However the pivot shows me as this

1671683543692.png


I do not want the sum but to calculate as it is. SP/GP. Is there any way since i have big list divided into further groups. Thanks alot.
 

Attachments

  • 1671683062247.png
    1671683062247.png
    6.9 KB · Views: 3

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Mathematically you can't calculate an overall (group) ratio using the individual ratios it needs to be calculated based on the underlying values.
As such you need to create a calculated field that is = SP/GP then include that in your pivot and rename the heading which will still say Sum but isn't really a sum.
Calculated Fielld - PivotTable Analyze > Fields, Items & Sets > Calculated Field

20221222 Pivot Table Ratio faisus.xlsx
ABCDEFGHIJ
1GroupNameGPSPRatio
2AlphaA2,408,9502,029,71584%Group Calc Ratio
3AlphaB1,932,7741,455,79975%Alpha80%
4BetaC1,999,2862,191,311110%Beta105%
5BetaD283,420205,73873%Gamma35%
6GammaE73,94125,64835%Grand Total88%
7
Sheet1
Cell Formulas
RangeFormula
E2:E6E2=D2/C2


1671690920683.png
 
Upvote 0
Solution

Forum statistics

Threads
1,214,650
Messages
6,120,736
Members
448,988
Latest member
BB_Unlv

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