But why avoid SUMPRODUCT also, i.e. by inserting an additional function (MMULT) into a standard SUM construction? This additional function will cost more resource and I'm not sure I see the point.
This is really a good opportunity to ask you about the comparison between SUMPRODUCT vs sum(MMULT,According to your response I understand that in this case there is an advantage to SUMPRODUCT ?
If you remember once, we did a test about the comparison between sum {} vs SUMPRODUCT ,had a slight advantage to sum even if the situation of the array.
I seem to recall that discussion being about this use of MMULT to avoid CSE, not SUMPRODUCT, though I may be wrong.
In any case, the only difference between your construction and mine is that you have inserted an additional function (MMULT). I can only imagine that this can add to calculation time.