% of Subtotal - Pivot Tables

Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: % of Subtotal - Pivot Tables

  1. #1
    New Member
    Join Date
    Nov 2002
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    See a pivot table like the example here:

    http://www.mrexcel.com/tip015.shtml

    How would you go about displaying the %'s as a % of the subtotal (see last pivot table).
    Eg in West Total it says 79.01%. I want that to read 100% and in the line above appels to be displayed as 64/448 = 14.2% of the West total.

    Any help much appreciated!

    Regards,

    William

  2. #2
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Austin, Texas USA
    Posts
    11,654
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    ******** ******************** ************************************************************************>
    Microsoft Excel - Book1___Running: xl2000 : OS = Windows Windows 2000
    (F)ile (E)dit (V)iew (I)nsert (O)ptions (T)ools (D)ata (W)indow (H)elp (A)bout
    =

    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    L
    M
    N
    1
    RegionProductSales DataRegion
    2
    WestCherries256 Sales % Total Sales Total %
    3
    WestBananas128 ProductCentralEastWestCentralEastWest
    4
    WestApples64 Apples6416457.14%14.29%14.29%12922.75%
    5
    CentralApples64 Bananas16212814.29%28.57%28.57%14625.75%
    6
    CentralCherries32 Cherries32425628.57%57.14%57.14%29251.50%
    7
    CentralBananas16 Grand Total1127448100.00%100.00%100.00%567100.00%
    8
    EastCherries4
    9
    EastBananas2
    10
    EastApples1
    11
    Sheet1

    [HtmlMaker 2.32] To see the formula in the cells just click on the cells hyperlink or click the Name box
    PLEASE DO NOT QUOTE THIS TABLE IMAGE ON SAME PAGE! OTHEWISE, ERROR OF JavaScript OCCUR.

  3. #3
    New Member
    Join Date
    Nov 2002
    Posts
    6
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi Mark,

    thanks for your response. I can see that the data you display is the answer, but I have no idea how you accomplished the second part of the data table, titled %. Is this a derived field (which formula?) that you drag in the data part of the layout, or is this the Sales field shown as a % (which one?) and dragged to the column part of the layout?

    Thanks again,

    William

  4. #4
    MrExcel MVP
    Join Date
    Feb 2002
    Location
    Austin, Texas USA
    Posts
    11,654
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    Sorry... I moved the 'Region' field button to the COLUMN area, dragged a 2nd copy of the 'Sales' field to the DATA area, double clicked on this 'Sales' field, renamed it to '%', clicked the [ Option>> ] button, and set the "Show data as" selection to "% of column".

    [ This Message was edited by: Mark W. on 2002-11-18 17:36 ]

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com