Average while removing duplicate values

Jongo1

New Member
Joined
Aug 8, 2016
Messages
24
I have the following data, but much longer. What I want to do is take the average of the total summed hours. I have categories with sub categories with sub categories below that. In the pivot example below when I select average it averages by person. What I want is the average by the total amount of hours by Bar while having the names on the pivot. So instead of 27.946 average by name I would like the average of the bars 125.76 (140.33+111.19)/2.

Maybe I have to add another column to the raw data, but if I do a sumif, averageif, or countif etc. it will have duplicates.


<tbody>
</tbody>
Row LabelsManufacturing
Soap251.52
Bar 1140.33
Tim
Jim
Jon21.91
Sebby118.42
Ralph
Bar 2111.19
Ralph
Sebby
Tim67.76
Jon43.43

<tbody>
</tbody>
 
Last edited:

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!

Forum statistics

Threads
1,214,827
Messages
6,121,817
Members
449,049
Latest member
cybersurfer5000

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top