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.
Bookmarks