Variable reference to noncontiguous cells...
On 1/30/2020 1:45 PM, Claus Busch wrote:
....
if all your cells have the same had the same column distance it would be
easy. But between Y and AD is one more column.
If it would be AC then you could try for average:
=AVERAGE((IF(MOD(COLUMN(M:AC),4)=1,M7:AC7)))
....
This averages all the cells between MC:AC7, not just those for which
MOD(...,4)=1.
It appears Excel evaluates the condition for column M as TRUE then the
condition is such. Isn't an array operation.
I'll keep digging.
--
|