Results 1 to 3 of 3

Thread: How to add a result column in Pivot table by subtracting two existing columns in Excel

  1. #1
    Join Date
    Oct 2011
    Posts
    19

    How to add a result column in Pivot table by subtracting two existing columns in Excel

    I have a pivot table that has rows for account numbers and columns that represent months. The data section has the year to date amount for each account number. Is there a way to create a new column that subtracts one months year to date value from the previous month year to date value in order to come up with the monthly value? Also, is it possible to have this only apply to certain rows. For instance, the balance sheet accounts are year to date amounts but income statement accounts are monthly mounts. Any help or advice is appreciated.

  2. #2
    Join Date
    Aug 2011
    Posts
    540

    Re: How to add a result column in Pivot table by subtracting two existing columns in Excel

    There is a way to do this. Click on one of your months. Then, go to PivotTable > Formulas > Calculated Item. This will give the formula a name. Then, from the Fields list, select the appropriate Field. To subtract the months, from the Items list, add the month you want to subtract from, then put the minus sign, then add the month you want to subtract. an example would look something like this: =Feb-Jan. You would have to do this for each set of months you want to perform the calculation for. Also, you would have to drag the column to the place you want it to appear, if you don't want Excel to simply put the calculation as an extra column at the far right of your PivotTable.

  3. #3
    Join Date
    Aug 2011
    Posts
    695

    Re: How to add a result column in Pivot table by subtracting two existing columns in Excel

    It took me a while to figure out how to drag the column but I figured it out. Until you mentioned it I didn't know that could be done.

Similar Threads

  1. How to sort multiple columns in Excel Pivot Table
    By Nicoloid in forum MS Office Support
    Replies: 2
    Last Post: 17-02-2012, 08:01 PM
  2. How to move the total column in Microsoft Excel Pivot Table
    By (Cowherd) in forum MS Office Support
    Replies: 2
    Last Post: 15-02-2012, 05:55 PM
  3. What is the way to sum up number of column in Pivot Table
    By Dvimida in forum MS Office Support
    Replies: 2
    Last Post: 09-02-2012, 07:31 PM
  4. How to merge columns of Pivot Table in single Row Heading
    By KSHaUNiSHa in forum MS Office Support
    Replies: 3
    Last Post: 27-01-2012, 07:04 PM
  5. Replies: 3
    Last Post: 27-11-2010, 05:25 AM

Tags for this Thread

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
  •  
Page generated in 1,714,244,063.73062 seconds with 17 queries