+ Reply to Thread
Results 1 to 7 of 7

Running Total In Pivot Table

  1. #1
    Registered User
    Join Date
    10-29-2012
    Location
    Notts, England
    MS-Off Ver
    365 PRO
    Posts
    63

    Running Total In Pivot Table

    Hi, I am creating a Pivot Table (from a table) and then trying to add a running total column into the PT. I am adding a new Value field and then showing value as a 'Running Total of..'

    Although the process seems fairly straightforward, I cannot get it to work and suspect it may have something got do with my source data.

    See attached spreadsheet of my attempt. Thanks for any help in advance.
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Running Total In Pivot Table

    Hopefully someone will improve on this.
    The idea comes from the video in this tutorial: https://www.pivot-table.com/2013/07/...s-at-year-end/
    The added 'TransNum' column on the 'Data' sheet is populated using:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Let us know if you have any questions.
    Attached Files Attached Files
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

  3. #3
    Registered User
    Join Date
    10-29-2012
    Location
    Notts, England
    MS-Off Ver
    365 PRO
    Posts
    63

    Re: Running Total In Pivot Table

    It looks as though that helper column does the job, i'll test it properly when back at work and let you know.

  4. #4
    Registered User
    Join Date
    10-29-2012
    Location
    Notts, England
    MS-Off Ver
    365 PRO
    Posts
    63

    Re: Running Total In Pivot Table

    Works perfectly, thank you.

  5. #5
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Running Total In Pivot Table

    You're Welcome. Thank You for the feedback and for marking the thread as 'Solved'. I hope that you have a blessed day.

  6. #6
    Registered User
    Join Date
    10-29-2012
    Location
    Notts, England
    MS-Off Ver
    365 PRO
    Posts
    63

    Re: Running Total In Pivot Table

    Hi, apologies for re-opening this thread but the running total no longer works! I am using your helper column and don't believe I have made any changes that would affect it's function. See attached.

    Any ideas on what's happened? Could the refresh of the SQL query cause problems?

    Aaron
    Attached Files Attached Files

  7. #7
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,548

    Re: Running Total In Pivot Table

    My feeling is that adding the Description and Transaction Date columns to the pivot table is what produces the issue. In the video (@2:10) it talks about the reason for adding the helper column to the source data and using it in the pivot table is to prevent grouping. I believe that adding the Description and Transaction Date columns reintroduces grouping. I did come up with a partial work around which is to include the Transaction Date in the values field, summarized as a sum with the number format of date.
    I feel that if there is more that one Cost Center in the actual data keeping that Rows field of the pivot table will produce the same issue, although if it is a numeric value (as in the file attached to post #1) it could be placed in the values field and summarized as a Sum.
    Sorry not to be of more help.
    Attached Files Attached Files

+ 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. Running Total Issue in my Pivot Table
    By samshall786 in forum Excel Charting & Pivots
    Replies: 12
    Last Post: 05-11-2022, 08:24 AM
  2. Pivot table and running total
    By jcrow in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 06-19-2015, 02:36 AM
  3. Pivot table running total
    By Avner in forum Excel General
    Replies: 4
    Last Post: 11-23-2006, 12:08 PM
  4. Pivot table and running total
    By PaulGG in forum Excel General
    Replies: 2
    Last Post: 11-29-2005, 04:20 PM
  5. Pivot table and running total
    By PaulGG in forum Excel General
    Replies: 0
    Last Post: 11-28-2005, 05:45 PM
  6. [SOLVED] % of running total in pivot table
    By eggman in forum Excel General
    Replies: 0
    Last Post: 10-13-2005, 12:05 PM
  7. [SOLVED] % of Running Total to Grand Total in Pivot Table
    By David in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-17-2005, 04:05 PM

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