Closed Thread
Results 1 to 3 of 3

Using '% of Total' in calculated field in Pivot Table

  1. #1
    goofy11
    Guest

    Using '% of Total' in calculated field in Pivot Table

    I have a Pivot Table with Inventory, % of Inventory, Sales, and % of Sales.
    To get '% of Inventory' and '% of Sales' I used the Inventory and Sales
    fields a second time and used the '% of Column' option. My table looks
    something like this.

    Category Inventory % of Inventory Sales %
    of Sales
    aaaa $30,000 11.91% $31,000
    12.31%
    bbbb $20,000 8.32% $22,000
    9.29%
    cccc $15,000 6.38% $14,000
    5.25%
    etc.

    What I need to do is subtract '% of Inventory' from '% of Sales'. I realize
    I can enter this calculation outside of the Pivot Table, but I would love to
    have it be part of the Pivot Table because I plan to drill-down/expand the
    Pivot Table and would like it to stay dynamic. Is this possible?

    Jeff



  2. #2
    Registered User
    Join Date
    04-20-2005
    Posts
    48
    On the toolbar PivotTable menu (doesn't work if you right-click), choose Formula and then Calculated Field or Calculated Item; both of these options allow for dynamic entries. I forget which one you'll need to use in this case...but it'll give you a start until someone else can respond.

    I asked the same question in this post: http://www.excelforum.com/showthread.php?t=399225

    -JC
    Last edited by carlyman; 05-09-2006 at 04:38 PM.

  3. #3
    goofy11
    Guest

    Re: Using '% of Total' in calculated field in Pivot Table

    I've had experience inserting calculated fields, however, I don't see how to
    do it based on a '% of Total' field. I'm not even sure it's possible. But
    if it is, I would love it. To clarify, the new column I'm trying to insert
    would be the 'Difference' column listed below (% of Sales - % of Inventory).

    Category Inventory % of Inventory Sales %
    of Sales Difference
    aaaa $30,000 11.91% $31,000
    12.31% 0.4%
    bbbb $20,000 8.32% $22,000
    9.29% 0.97%
    cccc $15,000 6.38% $14,000
    5.25% -1.13%
    etc.




    "carlyman" wrote:

    >
    > On the toolbar PivotTable menu (doesn't work if you right-click), choose
    > Formula and then Calculated Field or Calculated Item; both of these
    > options allow for dynamic entries. I forget which one you'll need to
    > use in this case...but it'll give you a start until someone else can
    > respond.
    >
    > -JC
    >
    >
    > --
    > carlyman
    > ------------------------------------------------------------------------
    > carlyman's Profile: http://www.excelforum.com/member.php...o&userid=22440
    > View this thread: http://www.excelforum.com/showthread...hreadid=540422
    >
    >


Closed 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