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?
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?
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
Thanks so much!! That was so easy. I figured there had to be a simple solution.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks