Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 137
Default how to sum groups of 7 cells

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!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default how to sum groups of 7 cells

=SUM(OFFSET(B$4,(ROW(I4)-ROW(I$4))*7,0,7)) and copy down.
--
David Biddulph

"Dermot" wrote in message
...
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!



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default how to sum groups of 7 cells

Enter this formula in I4 and copy down as needed:

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

--
Biff
Microsoft Excel MVP


"Dermot" wrote in message
...
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!



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 137
Default how to sum groups of 7 cells

Thank you!

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


"Roger Govier" wrote:

Hi Dermot

In I4 enter
=SUM(INDEX(B:B,4+7*(ROW(A1)-1)):INDEX(B:B,10+7*(ROW(A1)-1)))
and copy down as far as required

--
Regards
Roger Govier

"Dermot" wrote in message
...
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!


  #5   Report Post  
Posted to microsoft.public.excel.misc
Max Max is offline
external usenet poster
 
Posts: 9,221
Default how to sum groups of 7 cells

What is the difference between the Offset Function and the Index Function?
Offset is volatile while Index is not
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:17,700 Files:359 Subscribers:55
xdemechanik
---

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel - Sorting groups in groups due to subtotaling [email protected] Excel Worksheet Functions 3 April 4th 08 06:13 PM
Linking Groups of cells between workbooks vnacj-joe Excel Discussion (Misc queries) 4 June 14th 07 05:18 PM
=IF(COUNTIF to search several groups of cells Spamn Excel Discussion (Misc queries) 3 February 6th 07 04:58 AM
Sort Groups of Cells efenili Excel Worksheet Functions 3 March 2nd 06 07:25 PM
how do i view all groups under excel in google groups JulieD Excel Discussion (Misc queries) 2 December 16th 04 04:33 PM


All times are GMT +1. The time now is 01:29 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"