ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Average of group! (https://www.excelbanter.com/excel-worksheet-functions/209811-average-group.html)

TooN

Average of group!
 
Hello,

Monthly i make a download from our ERP system for calculating a KPI. The
download looks as follows

A----------------- B------C-----D------E-----F----G----
unique number - 01---hdg--8837--dffd--887
--------------------02---ooe--9989--eew--333
--------------------03---qqw--6567--ccs--4756 -average
unique number - 01---jkgu--5676-jhk---9797
--------------------02---ooe--9989--eew--343
--------------------03---ooe--9989--eew--335
--------------------04---ooe--9989--eew--239
--------------------05---qqw--6567--ccs--4756 -average
unique number - 01---jkgu--5676-jhk---9797
--------------------02---qqw--6567--ccs--4756
etc etc

Is it possible to calculate the average of column F per unique number in
column G. The number of rows per unique number is different and is different
per monthly download. Something like: calculate average of column F up to
next unique number in column A

I apreciate your help




unique number

Ashish Mathur[_2_]

Average of group!
 
Hi,

You can use Data Subtotal. Select Average in the function dropdown.
However, please note that the range must be sorted on column A.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"TooN" wrote in message
...
Hello,

Monthly i make a download from our ERP system for calculating a KPI. The
download looks as follows

A----------------- B------C-----D------E-----F----G----
unique number - 01---hdg--8837--dffd--887
--------------------02---ooe--9989--eew--333
--------------------03---qqw--6567--ccs--4756 -average
unique number - 01---jkgu--5676-jhk---9797
--------------------02---ooe--9989--eew--343
--------------------03---ooe--9989--eew--335
--------------------04---ooe--9989--eew--239
--------------------05---qqw--6567--ccs--4756 -average
unique number - 01---jkgu--5676-jhk---9797
--------------------02---qqw--6567--ccs--4756
etc etc

Is it possible to calculate the average of column F per unique number in
column G. The number of rows per unique number is different and is
different
per monthly download. Something like: calculate average of column F up to
next unique number in column A

I apreciate your help




unique number




All times are GMT +1. The time now is 03:38 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com