Average of minimum duplicate value.

Joined
Feb 16, 2016
Messages
21
Hello guys,
question regarding averages:

I am looking for a way to average the time in the columns with hours and that for each column. It may only select the lowest value of the lines with duplicates (since this time stamp is relevant).
Any ideas? Been trying with averageifs, min, ... but haven't found a decent solution yet.

Part of the file:


Thanks in advance,
Kind regards
Phil
 
Works like a charm, I added another IF for the 'IN' and 'EX' allowing me to more easily make the addition for the overall average.
Final formula: =IF(B14="IN",IF(H14=MIN(IF(A$14:A$202=A14,IF(B$14:B$202=B14,IF(C$14:C$202=C14,H$14:H$202)))),H14,""),"")
Moved some columns around aswell.

Grts,
Phil
 
Upvote 0

Forum statistics

Threads
1,226,797
Messages
6,193,055
Members
453,772
Latest member
aastupin

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