Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Summing every 7 cells consecutively

If I have number in every cell A1:A14 and would like to have cell B1
show the sum of the first seven rows (A1:A7), and B2 show the sum of
the next seven (A8:A14), how do I do this automatically? I.E. I have
thousands of rows of data, and would like a formula that I can drag
down, which will sum every 7 rows.

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,549
Default Summing every 7 cells consecutively

=SUM(OFFSET($A$1,(ROW()-1)*7,0,7,1))
--
Jim Cone
Portland, Oregon USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)




wrote in message
If I have number in every cell A1:A14 and would like to have cell B1
show the sum of the first seven rows (A1:A7), and B2 show the sum of
the next seven (A8:A14), how do I do this automatically? I.E. I have
thousands of rows of data, and would like a formula that I can drag
down, which will sum every 7 rows.
Thanks!
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default Summing every 7 cells consecutively

On Jun 9, 10:29*pm, "Jim Cone" wrote:
=SUM(OFFSET($A$1,(ROW()-1)*7,0,7,1))
--
Jim Cone
Portland, Oregon *USAhttp://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)


wrote in message
If I have number in every cell A1:A14 and would like to have cell B1
show the sum of the first seven rows (A1:A7), and B2 show the sum of
the next seven (A8:A14), how do I do this automatically? *I.E. *I have
thousands of rows of data, and would like a formula that I can drag
down, which will sum every 7 rows.
Thanks!


Thanks for your help!
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Summing every 7 cells consecutively

=SUM(INDEX(A:A,ROW(A1)*7-6):INDEX(A:A,ROW(A1)*7))


Gord Dibben MS Excel MVP

On Mon, 9 Jun 2008 19:54:25 -0700 (PDT), wrote:

If I have number in every cell A1:A14 and would like to have cell B1
show the sum of the first seven rows (A1:A7), and B2 show the sum of
the next seven (A8:A14), how do I do this automatically? I.E. I have
thousands of rows of data, and would like a formula that I can drag
down, which will sum every 7 rows.

Thanks!


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
how do I consecutively number invoices parkfield Excel Discussion (Misc queries) 2 December 7th 07 03:11 PM
Copied Cells do not run Series consecutively... Gucci Excel Worksheet Functions 3 July 1st 06 06:59 AM
How do I insert a new worksheet consecutively? lady-pearl Excel Discussion (Misc queries) 6 December 20th 05 04:47 PM
consecutively number cells in a column range prissy2 Excel Worksheet Functions 1 July 21st 05 01:46 AM
Consecutively Number Purchase Orders debcps Excel Worksheet Functions 1 May 18th 05 03:51 PM


All times are GMT +1. The time now is 11:53 PM.

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

About Us

"It's about Microsoft Excel"