+ Reply to Thread
Results 1 to 3 of 3

Calculated Field within Pivot table

  1. #1
    Registered User
    Join Date
    01-23-2018
    Location
    Wexford, Ireland
    MS-Off Ver
    2010
    Posts
    2

    Calculated Field within Pivot table

    Sir/Madam,
    I have been racking my brains to try solve this issue.
    Basically I have a table of data which I need to perform a calculation on. It is a summary calculation for the day based on 4 or 5 different entries that day.

    The attached picture is an excerpt from my table. For a particular machine (named Carrig) 4 orders were processed. I need to determine the overall performance of that machine for the full day using a calculation called "Overall Equipment Effectiveness - OEE". This calculation simply divides the total pieces manufactured by the "available time*max design speed". Therefore for the example shown this should be [14280/(38*930)] = 40.4%.

    In the calculated field, the formula sums the #pieces manufactured and the available time, which is correct. However, I want it to average the max design speed but it seems to sum them also, giving a result which is a quarter of the correct answer (because there were 4 separate entries).
    I have tried to use the following formula within the pivot as a calculate field but to no avail
    ='Total OEE Pieces' /('Available Time' *AVERAGE('Max Design Speed (PPM)' ))

    Any assistance would be greatly appreciated as I am running out of hair to pull!!!

    Regards,
    jb
    Table excerpt.jpg
    OEE pivot calculation.jpg

  2. #2
    Forum Guru xlnitwit's Avatar
    Join Date
    06-27-2016
    Location
    London
    MS-Off Ver
    Windows: 2010; Mac: 16.13 (O365)
    Posts
    7,085

    Re: Calculated Field within Pivot table

    Hi,

    Unless you have Power Pivot, you can't do it in the pivot table- you will need to add a column that calculates available time*max design speed in the source data table.
    Don
    Please remember to mark your thread 'Solved' when appropriate.

  3. #3
    Registered User
    Join Date
    01-23-2018
    Location
    Wexford, Ireland
    MS-Off Ver
    2010
    Posts
    2

    Re: Calculated Field within Pivot table

    Great stuff xlnitwit.

    Surprised power pivot is needed.
    However, you gave me an simple workaround which resolved the issue.
    Thanks,
    jb

    PS: I like your profile name... reminds me of fawlty towers!!!!!

+ 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 Calculated Field: Different categories in the same field
    By happydays886 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 11-08-2016, 09:49 PM
  2. Pivot Table: Calculated Field based on Running Total Field
    By EvolvingMonkey in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-07-2016, 06:27 AM
  3. Replies: 0
    Last Post: 08-15-2016, 02:07 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. Replies: 0
    Last Post: 06-26-2012, 09:06 PM
  7. [SOLVED] pivot table formulas for calculated field or calculated item
    By Vicky in forum Excel General
    Replies: 3
    Last Post: 06-06-2006, 12:10 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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1