how to sum groups of 7 cells

D

Dermot

If I have cells B4 to B250 filled with numbers and I want to sum every seven
cells (B4:B10, B11:B17, etc...). How can I do it such that in I4 is the sum
of the 1st seven, I5 the sum of the second 7, and so on.
I know I can do it manually but I have so many to do that I really need an
automated way of doing it.
Thank you in advance!
 
T

T. Valko

Enter this formula in I4 and copy down as needed:

=SUM(OFFSET(B$4,(ROWS(I$4:I4)-1)*7,,7))
 
D

Dermot

Thank you!

What is the difference between the Offset Function and the Index Function?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top