+ Reply to Thread
Results 1 to 3 of 3

Pivot Calculated field using values of a Column

  1. #1
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Pivot Calculated field using values of a Column

    I have a simple pivot. In my Rows area I have Strategy, in Columns I have "LBB Acct", and in my values I have "Sum of CP FY18 FTE".

    For "LBB Acct" there are 5 different flavors: FTEABF, FTEABU, FTECAP, FTEACN, FY 2018 CAP
    I also have a "Grand Total" column.

    I want to construct my pivot to have a calculated field (or calculated item) which would be the sum of the first 4. I'd like that to show in place before the 5th ("FY 2018 CAP"), and have the Grand Total show the difference between the first 4 and the 5th.

    Can I do that in my pivot, or do I need to do it in my source data?

    To do it in my pivot, how to?

    I'll post an example if I must, but would prefer not to as the WB doesn't belong to me and I'm reluctant to share data that's not mine.
    I know I'm not stupid, but I suspect I'm a lot stupider than I think I am

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,911

    Re: Pivot Calculated field using values of a Column

    You can create a calculated item to add up the first 4 items. You could then create another one to show the difference between that and the 5th item and then remove the grand total column (you can't do any of that with an actual grand total).

  3. #3
    Valued Forum Contributor
    Join Date
    12-02-2009
    Location
    Austin, Tx
    MS-Off Ver
    Office 365 64-Bit, 2108, build 14326.21018
    Posts
    3,952

    Re: Pivot Calculated field using values of a Column

    Thanks Rorya. I figured out what my problem was. As you pointed out, it was a (actually 2) calculated ITEMS that I wanted. But I was clicking into my pivot table, so Calculated Item was grayed out. I finally realized I had to click into the pivot header to do a calculated item. The rest was exactly as you described.

+ 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. [SOLVED] Pivot Table Calculated Field - Sum of Column A * Min of Column B
    By Whizbang in forum Excel General
    Replies: 8
    Last Post: 07-20-2021, 08:49 AM
  2. Pivot table calculated Field from count of values
    By 99problems in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-08-2015, 05:44 PM
  3. Calculated Field / Column / Item in Pivot Table
    By rashid.mehmood in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 10-23-2015, 01:58 PM
  4. [SOLVED] A pivot table field calculated using other field values as fields?
    By chrisf78 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 05-07-2015, 03:08 AM
  5. [SOLVED] Referring to a Sub-Field on Calculated Field Pivot Table Column?
    By figo12 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-27-2014, 02:02 PM
  6. Adding new calculated/column field to pivot table
    By MARYAN in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-09-2010, 05:34 AM
  7. Replies: 0
    Last Post: 10-14-2009, 03:27 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