+ Reply to Thread
Results 1 to 2 of 2

calculated field - Pivot Table

  1. #1
    Matt M HMS
    Guest

    calculated field - Pivot Table

    Is it possible to add a calculated field into a Pivot Table where the Calced
    field is a percentage of the subtotal for a column. For column A, I have five
    values; four of these values are subtotaled to equal 20:

    A
    2
    5
    4
    9
    _
    20
    12
    _
    32

    How do I add a calculated field (or item) which will show 2/20=10%,
    5/20=25%,...and finally 12/32=37.5%

    thank you
    Matt


  2. #2
    Debra Dalgleish
    Guest

    Re: calculated field - Pivot Table

    You can't divide by a subtotal amount in a pivot table. By arranging the
    fields differently you may be able to use the % of column or % of row
    custom calculation. Or, perform the calculations outside of the pivot
    table, using the GetPivotData function to extract the data.

    Matt M HMS wrote:
    > Is it possible to add a calculated field into a Pivot Table where the Calced
    > field is a percentage of the subtotal for a column. For column A, I have five
    > values; four of these values are subtotaled to equal 20:
    >
    > A
    > 2
    > 5
    > 4
    > 9
    > _
    > 20
    > 12
    > _
    > 32
    >
    > How do I add a calculated field (or item) which will show 2/20=10%,
    > 5/20=25%,...and finally 12/32=37.5%
    >
    > thank you
    > Matt
    >



    --
    Debra Dalgleish
    Excel FAQ, Tips & Book List
    http://www.contextures.com/tiptech.html


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1