<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Aggregate(1;6;..) (Avg): different conditions => same value or single values and not the average"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137763#c10">Comment # 10</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - Aggregate(1;6;..) (Avg): different conditions => same value or single values and not the average"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=137763">bug 137763</a>
from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
<pre>(In reply to gooly from <a href="show_bug.cgi?id=137763#c9">comment #9</a>)
Nice!
Now, after the bug had been resolved, here is my advise for your original task:
if you need to get average for some values, you may use this in T12:
=AVERAGEIF(G11:G84;"Bu|Se";T11:T84)
... if you use regular expressions in your spreadsheet (see
Options->Calc->Calculate). This is much simpler (and more manageable) than
=AGGREGATE(1;6;T11:T84/((E11:E84="Se")*(F11:F84="Se")+(E11:E84="Bu")*(F11:F84="Bu")))</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>