I open this great door with modesty and submit to you my little question.
My data is on a private network,it is possible to obtain a simple structure with INDEX and SUMPRODUCT.
Please see the attached file. I used a combination of named ranges, along with a transpose function to get values D3 and E3 into an array within a SUMIFS function. Then, I wrapped it around an average array formula.