Summing Alternate Rows

K

KarenQ

We have spreadsheets with many rows and need to sum alternate rows. Is
there a way to do this without entering a formula using the number of
each row?
 
R

Ron Coderre

Try this:

=SUMPRODUCT(--(MOD(ROW($A$1:$A$18),2)=1),$A$1:$A$18)

That formula sums odd-row values in the range A1:A18.

To sum even-row values the formula is:
=SUMPRODUCT(--(MOD(ROW($A$1:$A$18),2)=0),$A$1:$A$18)

Adjust the ranges as necessary.

Does that help?

Ron
 
Top