I would like an array formula to sum up columns G26:AD per row, since the amount of rows is dynamic.
=ArrayFormula(sum(G26:26))
does not work. I tried using MMULT but did not manage to get it working:
=MMULT(G26:26,TRANSPOSE(ARRAYFORMULA(COLUMN(G26:26)^0)))
Any other ideas?
The sum of each row in A:C:
=arrayformula(mmult(A2:C*1, transpose(A2:C2 * 0 + 1)))

Edit. This one is even shorter: =arrayformula(mmult(A2:C*1, transpose(A2:C2 ^ 0)))
=arrayformula(mmult(A2:C*--(A2:C>0), transpose(A2:C2 ^ 0)))

Other conditions:
=arrayformula(mmult(A2:D*1, transpose(A2:D2 ^ 0*iseven(column(A2:D2)))))

now possible with just:
=BYROW(G26:AD; LAMBDA(x; SUM(x)))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With