Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ddate
 
Posts: n/a
Default Formula to sum of every nth row

Is there a formula out there that will sum every nth row? I have a template
that has the same measure in consecutive rows and rather than selecting the
cells manually would like to enter a formula.

Thanks for the help.
  #2   Report Post  
Doug Glancy
 
Posts: n/a
Default

Go to this page Chip Pearson's site and scroll down to "Summing every nth
value"

http://www.cpearson.com/excel/excelF.htm

hth,

Doug

"ddate" wrote in message
...
Is there a formula out there that will sum every nth row? I have a

template
that has the same measure in consecutive rows and rather than selecting

the
cells manually would like to enter a formula.

Thanks for the help.



  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

=SUMPRODUCT(--(MOD(ROW(B1:B100),n)=m),B1:B100)

where n is the nth row, m is the start point, and should be 0 and <=n-1

--

HTH

RP
(remove nothere from the email address if mailing direct)


"ddate" wrote in message
...
Is there a formula out there that will sum every nth row? I have a

template
that has the same measure in consecutive rows and rather than selecting

the
cells manually would like to enter a formula.

Thanks for the help.



  #4   Report Post  
Aladin Akyurek
 
Posts: n/a
Default

ddate wrote:
Is there a formula out there that will sum every nth row? I have a template
that has the same measure in consecutive rows and rather than selecting the
cells manually would like to enter a formula.

Thanks for the help.


See:

http://tinyurl.com/an9t9
  #5   Report Post  
N Harkawat
 
Posts: n/a
Default

Say you want to sum every 3rd row and your data starts from A1 thru A42 the
following will sum every 3rd row

=SUM(IF(MOD(ROW(A1:A42),3)=0,A1:A42))
Array entered (ctrl+shift+enter)

Now changing 3 to 4 in the fomula will sum every 4th row

However be careful with the beginning row number where the sum range begins
as this formula would need tweaking to adopt to that

"ddate" wrote in message
...
Is there a formula out there that will sum every nth row? I have a
template
that has the same measure in consecutive rows and rather than selecting
the
cells manually would like to enter a formula.

Thanks for the help.



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
Simplify formula Luke Excel Worksheet Functions 37 May 6th 05 07:21 AM
put formula results into a different cell if it is empty PutFormula Excel Worksheet Functions 2 February 11th 05 03:31 AM
Dynamic (?) formula Thore Excel Worksheet Functions 2 February 9th 05 05:25 PM
how do i write a formula and keep in in formula form, so it DOESN. norcalchick2207 Excel Discussion (Misc queries) 2 February 4th 05 08:38 PM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM


All times are GMT +1. The time now is 01:30 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"