+ Reply to Thread
Results 1 to 6 of 6

Pivot Table: Difference between Two Months.

  1. #1
    Forum Contributor
    Join Date
    06-24-2004
    MS-Off Ver
    Excel 2013 Pro Plus
    Posts
    122

    Pivot Table: Difference between Two Months.

    Hello friends! Hope all is well!
    I need your kind help please.

    The rawdata (top) in the attachment here, has company names repeated in every month.
    I am trying to make a pivottable that looks like the table (below) and showing the difference of two months for every column.


    Please help me! thank you so much in advance!
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Pivot Table: Difference between Two Months.

    Hi,

    After Inserting your Pivot Table, put Year, Month and Name in the Row Labels.
    Select either Nov or Oct in the Month column, then select Calculate Item under the Fields, Items, & Sets.
    A box will appear to Insert Calculated Item in "Month".
    Change the name to DIFF. In the formula area enter "= November - October". Then hit Add, OK.
    The populate the rest of the pivot table.

    Hope that makes sense and works for you.

    See attached modification of your example.

    Cheers

  3. #3
    Forum Contributor
    Join Date
    06-24-2004
    MS-Off Ver
    Excel 2013 Pro Plus
    Posts
    122

    Re: Pivot Table: Difference between Two Months.

    thank you! but I was hoping to make the pivottable directly from the above database. the 2nd table is to show the end result (what the pivottable should look like). How to do it on "Show value as" "Difference From"?

  4. #4
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Pivot Table: Difference between Two Months.

    The Pivot Table I provided is using the first set of data. The explanation I provide explains how to achieve it.
    My apologizes for not being able to explain it well enough. However, it doesn't have anything to do with "Show value as" "Difference From".

  5. #5
    Forum Contributor
    Join Date
    06-24-2004
    MS-Off Ver
    Excel 2013 Pro Plus
    Posts
    122

    Re: Pivot Table: Difference between Two Months.

    It took me a while, since it is a new thing for me on PT; so I needed time to go through your kind steps. It worked! Much Obliged!!

  6. #6
    Valued Forum Contributor
    Join Date
    05-08-2015
    Location
    Uvalde, TX
    MS-Off Ver
    2010
    Posts
    720

    Re: Pivot Table: Difference between Two Months.

    Pivot Tables are a bit tricky and a pain to manipulate.
    Glad I could be of some assistance.

    Cheers

+ 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. Pivot Table with % difference from
    By moty.98 in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 10-14-2016, 04:55 AM
  2. Replies: 5
    Last Post: 03-17-2016, 05:06 AM
  3. How to order pivot table months
    By stephme55 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 12-30-2015, 06:17 PM
  4. Days to Months on a Pivot table
    By Stuand in forum Excel General
    Replies: 9
    Last Post: 09-26-2011, 07:37 AM
  5. Var difference on Pivot table
    By gico1972 in forum Excel General
    Replies: 5
    Last Post: 12-21-2010, 01:10 PM
  6. Pivot Table - Showing Months
    By misty0705 in forum Excel General
    Replies: 3
    Last Post: 07-08-2008, 02:09 AM
  7. Pivot table displaying last 12 months
    By Acro in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-15-2006, 05:35 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