Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
skyking
 
Posts: n/a
Default how do i add every fifth row in a spreadsheet?

how do i add every fifth row in a spreadsheet?
  #2   Report Post  
Biff
 
Posts: n/a
Default how do i add every fifth row in a spreadsheet?

Starting from which row?

Biff

"skyking" wrote in message
...
how do i add every fifth row in a spreadsheet?



  #3   Report Post  
Duke Carey
 
Posts: n/a
Default how do i add every fifth row in a spreadsheet?

Assuming you want to start with row 1, then row 6, row 11, all in column A

=SUMPRODUCT(--(MOD(ROW(A1:A100),5)=1),A1:A100)

If you want to SUM starting with the value in row 2, then use

=SUMPRODUCT(--(MOD(ROW(A2:A100),5)=2),A1:A100)

and so on, up to row 4. If you want to start with row 5, then use

=SUMPRODUCT(--(MOD(ROW(A5:A100),5)=0),A1:A100)

"skyking" wrote:

how do i add every fifth row in a spreadsheet?

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
Formula for Returning values in another spreadsheet lrbest4x4xfar Excel Worksheet Functions 1 October 14th 05 02:52 PM
Hyperlinking to Excel 2000 with a linked spreadsheet LDPitsy1970 Excel Discussion (Misc queries) 0 October 12th 05 02:31 PM
Spreadsheet merging problems Sam B Excel Worksheet Functions 0 September 19th 05 08:05 PM
Spreadsheet Dilemma msbates2004 Excel Discussion (Misc queries) 1 May 27th 05 02:55 AM
Applying Existing Password to New Spreadsheet Vic Excel Discussion (Misc queries) 1 January 27th 05 12:37 AM


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