Gringoire
Board Regular
- Joined
- Nov 18, 2016
- Messages
- 71
- Office Version
- 365
- Platform
- Windows
Hi guys,
sorry if my question is dumb but I'm not able to found a solution.
I would like to use AGGREGATE function on rows to carry out separate averages data.
on below example i would like to have:
on D3 the average of Range G:O including only the cells where row (2) value is "h"
on E3 the average of Range G:O including only the cells where row (2) value is "kg"
on F3 the average of Range G:O including only the cells where row (2) value is "€"
I try a lot of different syntax like:
=AGGREGATE(1;0;G3:O3:G2:O2;"h")
=AGGREGATE(1;0;G3:O3*G2:O2="h")
=AGGREGATE(1;0;G3:O3:G2:O2="h")
and so on... but
Of course I alredy read this: WorksheetFunction.Aggregate method (Excel)
and googled a lot but Aggregate is quite complex and I still miss the right formula.
could you please give me a hint?
thanks.
sorry if my question is dumb but I'm not able to found a solution.
I would like to use AGGREGATE function on rows to carry out separate averages data.
on below example i would like to have:
on D3 the average of Range G:O including only the cells where row (2) value is "h"
on E3 the average of Range G:O including only the cells where row (2) value is "kg"
on F3 the average of Range G:O including only the cells where row (2) value is "€"
I try a lot of different syntax like:
=AGGREGATE(1;0;G3:O3:G2:O2;"h")
=AGGREGATE(1;0;G3:O3*G2:O2="h")
=AGGREGATE(1;0;G3:O3:G2:O2="h")
and so on... but
Of course I alredy read this: WorksheetFunction.Aggregate method (Excel)
and googled a lot but Aggregate is quite complex and I still miss the right formula.
could you please give me a hint?
thanks.