Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
DeLyn
 
Posts: n/a
Default Summing every Nth row


I need a grand total of every 5th line beginning with C7 and ending with
C352. Is there any way of doing this?


--
DeLyn
------------------------------------------------------------------------
DeLyn's Profile: http://www.excelforum.com/member.php...o&userid=24307
View this thread: http://www.excelforum.com/showthread...hreadid=379149

  #2   Report Post  
olasa
 
Posts: n/a
Default


This is one option:

From cell C8 to C352
....
In cell C19: =IF(MOD(ROW(),5)=0,SUBTOTAL(9,$C$7:C19),"")
In cell C20: =IF(MOD(ROW(),5)=0,SUBTOTAL(9,$C$7:C20),"")
...

HTH
Ola Sandström


--
olasa
------------------------------------------------------------------------
olasa's Profile: http://www.excelforum.com/member.php...o&userid=17760
View this thread: http://www.excelforum.com/showthread...hreadid=379149

  #3   Report Post  
bj
 
Posts: n/a
Default

one way to do it
=sumproduct(--(mod(row(C7:C352)=2),c7:c352)

"DeLyn" wrote:


I need a grand total of every 5th line beginning with C7 and ending with
C352. Is there any way of doing this?


--
DeLyn
------------------------------------------------------------------------
DeLyn's Profile: http://www.excelforum.com/member.php...o&userid=24307
View this thread: http://www.excelforum.com/showthread...hreadid=379149


  #4   Report Post  
Dave Peterson
 
Posts: n/a
Default

One way:

=SUMPRODUCT(--(MOD(ROW(C7:C352),5)=2),C7:C352)

=sumproduct() likes to work with numbers.

The -- converts Trues and falses to +1's and 0's.

DeLyn wrote:

I need a grand total of every 5th line beginning with C7 and ending with
C352. Is there any way of doing this?

--
DeLyn
------------------------------------------------------------------------
DeLyn's Profile: http://www.excelforum.com/member.php...o&userid=24307
View this thread: http://www.excelforum.com/showthread...hreadid=379149


--

Dave Peterson
  #5   Report Post  
Nick Hodge
 
Posts: n/a
Default

DeLyn

Enter the sum in C7. Select the cells C7:C11 and then click on the fill
handle (The little square bottom right of C11) and drag to C352. Every 5th
row will have a sum

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
HIS


"DeLyn" wrote in
message ...

I need a grand total of every 5th line beginning with C7 and ending with
C352. Is there any way of doing this?


--
DeLyn
------------------------------------------------------------------------
DeLyn's Profile:
http://www.excelforum.com/member.php...o&userid=24307
View this thread: http://www.excelforum.com/showthread...hreadid=379149





  #6   Report Post  
DeLyn
 
Posts: n/a
Default


Thank you guys so much! I couldn't find anyone at the office that knew
how to do that :)


--
DeLyn
------------------------------------------------------------------------
DeLyn's Profile: http://www.excelforum.com/member.php...o&userid=24307
View this thread: http://www.excelforum.com/showthread...hreadid=379149

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
Not summing a columns? Nicole Excel Worksheet Functions 2 April 23rd 05 03:30 PM
Summing cells in pivot tables Ted Excel Discussion (Misc queries) 1 April 5th 05 05:10 PM
Cumulative Summing Carpie Excel Discussion (Misc queries) 3 February 11th 05 04:35 PM
Summing Time JDT Excel Discussion (Misc queries) 8 February 8th 05 10:53 PM
Summing Formula Steve W Excel Worksheet Functions 4 November 4th 04 12:06 PM


All times are GMT +1. The time now is 05:59 AM.

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"