Cross analysis and average of multiple fields
<p>I've been trying this for hours and can't seem to get my head around how I should proceed. I have this table here:</p>

<p><a href="https://i.stack.imgur.com/t8L9m.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t8L9m.png" alt="enter image description here"></a></p>

<p>Volha stands for volume by hectare, Tiha is for plants per hectare. BOP, SEPM and PET are plant families. </p>

<p>What I am looking to do is to get a table where I have the average value for the volume per hectare and plants per hectare IN each of the 13 blocks for each of the 3 plant families. example : the average value for volume per hectare of BOP in bloc 7. Final table should look like this, except this one says '' total volume'' or ''total plants'' instead of average.</p>

<p><a href="https://i.stack.imgur.com/UTAEJ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UTAEJ.png" alt="enter image description here"></a></p>