Share via

Add percentage column to a pivot table

Anonymous
2015-11-19T15:03:24+00:00

Hello.

I have being searching for a solution to this problem for a long time without finding a good solution.

I have a pivot table that shows the total sales per customer and month.

The months are displayed as columns.

I need to add a column that will show the ratio "Customer SAles Total per year" / "Total Sales(all years)".

How can I add this column to the pivot table?

The test excel file can be found here:

Excel Test File

Thank you for your help,

J.C.

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

5 answers

Sort by: Most helpful
  1. Anonymous
    2015-11-19T15:27:19+00:00

    Sample Solution for you

    Add a Calculated field from the PivotTable Options Tab

    =Sales

    Click on the new column and Show Values as > % of Column Total

    Final Result

    Was this answer helpful?

    7 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2015-11-19T17:38:26+00:00

    Hello,

    Thanks for your reply.

    I have tested something similar to your suggestion (you can find my test on the worksheet called "Sheet1") but my problem is adjusting the column to keep up with an uncertaing number of rows!!

    I could apply the formula to entire column but that is king of an hack rather than a good, simple solution...

    Do you know how to dynamically apply a formula to the new rows that will be added by the pivot table (as we add more data to the data entry table)?

    Thank you,

    J.C.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2015-11-19T17:27:16+00:00

    Hello,

    Thanks for your reply.

    Everytime I add a "Calculated field" Excel adds a new column for every month showing percentage...

    But the columns under Month must only show the absolute Sales value.

    Please take a look at the image posted by Bernard Liengme; notice that percentage column should be displayed only at the end (right side) of the pivot table.

    Thank you,

    J.C.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2015-11-19T15:25:00+00:00

    I did it without a PT field

    best wishes

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2015-11-19T15:17:27+00:00

    Hi, look into Debra web with videos and explanations.

    http://www.contextures.com/xlPivot10.html

    Was this answer helpful?

    0 comments No comments