Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
t2true
 
Posts: n/a
Default Summing cells in every 14th row


I need to be able to add up the value of a cell in every 14th row.
The spreadsheet contains the results from a daily report (30 days
worth). Each report is 14 rows. I need to add the results of one line
for each report.
In other words I need to add cells I1, I15, I29, I43, I57; and then I2,
I16, 130, I44, I58, etc.

Can someone provide feedback?

Thanks


--
t2true
------------------------------------------------------------------------
t2true's Profile: http://www.excelforum.com/member.php...fo&userid=3877
View this thread: http://www.excelforum.com/showthread...hreadid=387143

  #2   Report Post  
Duke Carey
 
Posts: n/a
Default

To get the first set:

=SUMPRODUCT(I1:I1000,--(MOD(ROW(I1:I1000),14)=1))

To get the second set:

=SUMPRODUCT(I1:I1000,--(MOD(ROW(I1:I1000),14)=2))

and so on


"t2true" wrote:


I need to be able to add up the value of a cell in every 14th row.
The spreadsheet contains the results from a daily report (30 days
worth). Each report is 14 rows. I need to add the results of one line
for each report.
In other words I need to add cells I1, I15, I29, I43, I57; and then I2,
I16, 130, I44, I58, etc.

Can someone provide feedback?

Thanks


--
t2true
------------------------------------------------------------------------
t2true's Profile: http://www.excelforum.com/member.php...fo&userid=3877
View this thread: http://www.excelforum.com/showthread...hreadid=387143


  #3   Report Post  
bj
 
Posts: n/a
Default

there are multiple ways to do it.
one is to use Sumproduct
=sumproduct(--(mod(Row(I1:I1000),14)=1),I1:I1000) starting at row one
=sumproduct(--(mod(Row(I1:I1000),14)=2),I1:I1000) starting at row two
etc.

"t2true" wrote:


I need to be able to add up the value of a cell in every 14th row.
The spreadsheet contains the results from a daily report (30 days
worth). Each report is 14 rows. I need to add the results of one line
for each report.
In other words I need to add cells I1, I15, I29, I43, I57; and then I2,
I16, 130, I44, I58, etc.

Can someone provide feedback?

Thanks


--
t2true
------------------------------------------------------------------------
t2true's Profile: http://www.excelforum.com/member.php...fo&userid=3877
View this thread: http://www.excelforum.com/showthread...hreadid=387143


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
Using SUM function with #N/A in some cells Jeeper Excel Worksheet Functions 5 June 10th 05 06:28 AM
REVISED ?? - populate limited cells w/ set value Jane Excel Worksheet Functions 1 March 19th 05 02:29 PM
Blank Cells in Pivot Tables Greg Excel Discussion (Misc queries) 1 March 16th 05 09:23 PM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM


All times are GMT +1. The time now is 02:13 AM.

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"