How To Add a Column To Pivot Table Where one Column Is Percent of Another Column

pmolema

New Member
Joined
Aug 4, 2017
Messages
1
I have created a pivot table showing following information:

Row Labels Correct QtyIncorrect Qty Total Qty
Whs18798128710085
Whs108672871154
Whs1189788985
Whs12658166824
Whs138983901288
Whs147873781165
Whs155984511049
Whs258967656
Whs358741628
Whs425712269
Whs5987951082
Whs688899987
Whs78791771056
Whs8558156714
Whs99871971184
Grand Total19235389123126

<tbody>
</tbody>

In this I would like to add a new column "% correct" which is basically the row value from column "Correct Qty" / Grand Total from column "Total Qty". I have tried many things but don't seem to solve it. How to create a new column where the row value is divided by the grand total of another column.
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
I have created a pivot table showing following information:

Row Labels Correct QtyIncorrect Qty Total Qty
Whs18798128710085
Whs108672871154
Whs1189788985
Whs12658166824
Whs138983901288
Whs147873781165
Whs155984511049
Whs258967656
Whs358741628
Whs425712269
Whs5987951082
Whs688899987
Whs78791771056
Whs8558156714
Whs99871971184
Grand Total19235389123126

<tbody>
</tbody>

In this I would like to add a new column "% correct" which is basically the row value from column "Correct Qty" / Grand Total from column "Total Qty". I have tried many things but don't seem to solve it. How to create a new column where the row value is divided by the grand total of another column.

can you provide a sample of how the data source looks like?
 
Upvote 0
Hi,
hope fully this will help. follow the below as to how to add your percentage column in your pivot table.
1. Options Tab
2. Go to Fields, Items & Sets
3. Select Calculated Field
4. In The name give your field your name e.g Percentage.
5. in the formula select Correct Qty divide by total Qty
6. It should look something like this.
='Correct Qty'/ 'Total Qty'


Then put you percentage into your totals and format to %
Hope this will help.
 
Upvote 0

Forum statistics

Threads
1,215,507
Messages
6,125,212
Members
449,214
Latest member
mr_ordinaryboy

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