+ Reply to Thread
Results 1 to 3 of 3

Instead of Grand Total I want Difference in every row, in pivot.

  1. #1
    Forum Contributor
    Join Date
    08-26-2009
    Location
    Iceland
    MS-Off Ver
    Excel 365, Windows 10
    Posts
    110

    Instead of Grand Total I want Difference in every row, in pivot.

    Hi,

    In my pivot I want to get difference not grand total.
    I am comparing year 2020 to 2021.

    In cell L6 (see attachment) my expected value is 129,84 which is difference from J6 and K6.

    Row Labels 2020 2021 Grand Total
    Staff 10 660,44 530,60 1.191,04 (exp. value -> year 2020-year 2021 = 129,84)
    Staff 11 692,60 591,00 1.283,60 (exp. value -> year 2020-year 2021 = 101,60)


    etc.

    I am using excel 2016.

    Best regards,
    Petur
    Attached Files Attached Files

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,239

    Re: Instead of Grand Total I want Difference in every row, in pivot.

    You need to create a calculated item (not calculated field) using the formula ='2020' -'2021'. First turn off the grand totals, then select either J4 or K4 and on the PivotTable Tools - Analyze tab, click the Fields, Items and Sets dropdown, then Calculated Item. Choose a name (eg Diff) then use the formula I gave.
    Remember what the dormouse said
    Feed your head

  3. #3
    Forum Contributor
    Join Date
    08-26-2009
    Location
    Iceland
    MS-Off Ver
    Excel 365, Windows 10
    Posts
    110

    Re: Instead of Grand Total I want Difference in every row, in pivot.

    Thanks,
    I will do that.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 11
    Last Post: 09-27-2019, 08:00 AM
  2. Additional grand total to pivot with percent of grand total
    By avism in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 08-16-2019, 12:26 AM
  3. Pivot Table..."Grand total chaned to difference"
    By Statz in forum Excel General
    Replies: 2
    Last Post: 06-23-2019, 08:37 AM
  4. [SOLVED] Pivot Table Grand total issue need two grand totals
    By alesha711 in forum Excel Charting & Pivots
    Replies: 18
    Last Post: 02-13-2019, 03:02 PM
  5. Need help creating pivot - grand total and grand total as % of column value
    By obionenairobi in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-18-2017, 08:00 AM
  6. [SOLVED] Can you make the Grand Total be the difference of instead of the sum of?
    By kafarrell in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-07-2014, 01:53 PM
  7. [SOLVED] Is it possible to have both Grand Total and Grand Average in a Pivot Table?
    By ANS in forum Excel Charting & Pivots
    Replies: 15
    Last Post: 10-16-2012, 05:15 AM

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