Hi Paul,
Am Tue, 28 Jan 2014 07:56:52 +0000 schrieb Vidcapper:
=SUMPRODUCT(--(MOD(ROW(A1:A15),3)=0),A1:A15)
Has a double minus sign, which the the one you posted yesterday didn't :
=SUMPRODUCT((MOD(ROW(A1:A20),3)=0)*A1:A20)
no, both version will work. The double minus you need if you seperate
the arguments with a comma to change TRUE to 1 and FALSE to 0 that
SUMPRODUCT can caluculate with it. If you multiply the arguments it is
not needed.
Would it work for other functions like Max, Min, Average, etc?
For example it works with average with:
=AVERAGE(IF(MOD(ROW(A1:A15),3)=0,A1:A15))
The array formula must be entered with CTRL+Shift+Enter
With MAX and MIN it works analog
Regards
Claus B.