+ Reply to Thread
Results 1 to 4 of 4

Pivot Table - Complicated concept regarding groups

  1. #1
    Registered User
    Join Date
    04-06-2015
    Location
    Phnom Penh
    MS-Off Ver
    2010
    Posts
    2

    Pivot Table - Complicated concept regarding groups

    Hello Excel Forum.

    I am asking for help because I can't think of a logical way to solve my problem.
    Here are the details:

    We have a factory with machines, making "parts". Some of the machines are in groups for example 6 Presses. Other machines we have only one, for example an oven.
    For each machine we record its electricity consumption in kWh.
    For the whole factory we record how many parts we make per day.

    We make a lot of parts and therefore we need to record kWh/1000 parts.
    We then want to compare machines that are similar like the 6 presses, but also group the 6 presses together and then compare them against the oven.

    What I have done so far in Excel and now have a problem...
    I have a table of dates, machines, machine group, and kWh used, there is also the total factory production in that row.
    In a pivot table I then have dates vertically, machine group/machines horizontally and a calculated field of "kWh/production*1000"
    And this works perfectly. However...
    When I collapse the group of presses it now takes total kWh (which is correct) and divides by total production (which is not correct, it is summing the production 6 times, for the 6 presses) *1000.
    For this calculation to be correct I need it to sum the kWh but divide only by 1 x production.

    I can give more details to anyone who thinks they could help.

    Thank you in advance.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,592

    Re: Pivot Table - Complicated concept regarding groups

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  3. #3
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Pivot Table - Complicated concept regarding groups

    Without seeing your structure I'd be suggesting that you may need to simply identify if there are units in parallel (like your 6 presses) and then identify the fraction of product shared across these parallel units. In this instance each press takes 1/6 th of the total production. Multiplying this out you'll get the accurate machine kW h/ unit produced per machine and adding them together you'll get the total kWh / unit for the group too
    Happy with my advice? Click on the * reputation button below

  4. #4
    Registered User
    Join Date
    04-06-2015
    Location
    Phnom Penh
    MS-Off Ver
    2010
    Posts
    2

    Re: Pivot Table - Complicated concept regarding groups

    2015_04_06 - Elec Data Analysis.xlsx

    I think the demo file is attached.

    Worksheet:Data is obviously just the raw data.
    Worksheet:PivotTable is how I would like the data, eventually it would be grouped by year/month.
    This is very simplifier showing only 9 machines, in reality we have many many more and more than one line in the factory.

    To the right of the pivot table is more explanation about the end result I hope to achieve.

    When the Presses group is collapsed, you can see the numbers I would like to get and imagine how the chart would reflect that difference.


    I could create a machine called something like "all 6 presses" but then need to have that sum the kWh for the 6 machines, of course this could be done, but I can't think of a clean way to do it with my normalised data.

    Thanks!!

+ 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. Replies: 0
    Last Post: 09-09-2014, 07:38 AM
  2. [SOLVED] Complicated Pivot table
    By Excel Dumbo in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-04-2013, 12:32 AM
  3. Rename groups in pivot table
    By jjjjj55555 in forum Excel General
    Replies: 1
    Last Post: 02-22-2007, 05:32 AM
  4. Pivot Table Groups
    By Chris in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-24-2006, 02:45 AM
  5. pivot table and groups
    By tysop in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-24-2006, 02:40 PM

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